Questions tagged as 'html'

3
answers

How to create div with javascript

Well, I have the following situation: <div class="corpo"> <div class="esquerda"></div> <div class="meio"></div> <div class="direita"></div> </div> I need to add a new div called "al...
asked by 03.03.2017 / 23:10
1
answer

appendHTML counter - how to do?

I have a label in the form of my site that adds to a div (in the example case, id of this div is grupoExt ) an HTML content. Here is the code: var numeroFE = 2; $("#addFE").click(function(){ var html3 = "&l...
asked by 20.03.2017 / 18:46
2
answers

Dynamic writing effect of text

I would like to use in a web project an effect that "writes" the text on the screen as if it were someone typing, Type if the sentence is "Hello world" it will show: Understand the "|" as the writing cursor: "O |" And after about 0.2...
asked by 10.04.2018 / 02:31
2
answers

Expand / collapse table contents by clicking title

I have a table, I want to load the page with its hidden content, and when I click on the title (in the example below waiting ), load the content and click on the title again the content is collected and hidden. How can I do this? <...
asked by 28.03.2018 / 20:39
2
answers

Conflict between buttons when sending form with jquery

I'm having a problem submitting a jQuery form, the submit was to be done only by a button but I have two in the form, and the submit is done by the two. how to solve this problem ?? <script type="text/javascript"> $(document).ready(func...
asked by 08.11.2017 / 13:13
1
answer

Start the combobox without any text

I have a select (usually called a combobox) and I wanted there to be no text when I run the site <select> <option value="Roupa Desportiva">Roupa Desportiva</option> <option value="Futebol">Futebol</option> &...
asked by 18.05.2018 / 15:28
3
answers

Increase and Decrease Font, how to apply on a large site?

I have to apply the accessibility feature to increase and decrease font. I currently have 3 buttons: Small Font, Normal Font and Large Font. The idea is that when you click each button, its function is called in javascript. And that the font...
asked by 03.08.2018 / 19:49
3
answers

How to use the Icon tag in HTML? [closed]

I want to use a 'flex' next to the button text. I tried to use the symbols of the keyboard, but the site I want to insert does not accept. Can I use the tag icon, how is it used to put the logo on the site title?     
asked by 12.09.2017 / 13:35
2
answers

Remove space between html list item

I have the following list: li { display: inline-block; padding: 20px; background: red; } <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> How do I paste...
asked by 17.12.2016 / 16:09
3
answers

There is a useful way to highlight an HTML element / tag in a given color

Well, I want to set a color to the tag style. The following example changes the style of an element <p id="tag"> parágrafo </p> To change the style of an HTML element, use this syntax: <script> document.getEleme...
asked by 25.01.2017 / 05:01