Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
2
votes2
answers1834
viewsSelect option when clicking button
I have 3 buttons outside the form tag and when clicking on some of them, I need the value to be selected in select, follow image and code for better understanding: Buttons (outside the tag form)…
-
2
votes2
answers33
viewsTransform: Translate is compatible with which browsers?
Example of use works well in modern browsers the doubt is in which versions will not be compatible. <h2 style="position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);…
htmlasked 6 years, 11 months ago user108003 31 -
2
votes2
answers1084
viewsMaximum limit Google Maps bookmarks
I have the application below, which adds markers on the map according to the past addresses, but it seems to me that you have a maximum limit. It only scores 10 points, but there are more than 10…
-
2
votes2
answers254
viewsItems in levels within an HTML Combobox. Is it Possible?
Let’s say you want to list in one Combobox items for sale on an e-commerce site. But on this list, I want to first display the category name and below the items. Example: Sports Bicycle Boot…
-
2
votes1
answer2954
viewsTake column value from an HTML table and pass to PHP variable
I have seen that there is quite an example on the web of how to get the column value of a table HTML, as well as passing the value of a variable JavaScript to the PHP. However, when I’m using the…
-
2
votes1
answer32
viewsResponsive on PC but not on tablet or mobile phone
background-image: url("../assetsimages/book.jpg"); background-size: 100% auto; background-repeat: no-repeat; max-width:auto; height: auto; As you can see on tablet and mobile phone is not responsive…
-
2
votes2
answers1244
viewsChange the color of an image in css (jquery)
I have an image on my page: <img style="border:0;" src="img/corpo_menina.png" alt="" width="320" height="480" usemap="#dtb61iMap" id="dtb61iMap" /> At a time of my application, various changes…
-
2
votes1
answer1062
viewsHow to change the size of a :before or :after dynamically with Jquery?
Can anyone tell me if it is possible to change the size of a :before or :after dynamically with jquery? Ex: $('#elemento:before').css({'width':'100px'});…
-
2
votes1
answer434
viewsHow to insert countdown into table? HTML and Javascript
How do I place the countdown counter next to each name that is inserted into the table? Where the countdown must start from 20 min to each name entered <head> <script…
-
2
votes1
answer239
viewsHow to get the origin of a form in cgi python?
Hello, I’m using python with cgi, for my forms. I need to get origin to make sure my website is safe, but I couldn’t find any information on it. The only thing I am doing for now is to recover the…
-
2
votes2
answers700
viewsHow to remove an entire div in Jquery and then add it back?
How can I remove an entire div using .empty() or .remove() and then add it back into any function?
-
2
votes2
answers2906
viewsHow to add a class to an HTML element via Javascript. In my case, I need to add a class to the H1 element below
I need to add a class to the H1 element var div = document.createElement("div"); var h1 = document.createElement("h1"); var p = document.createElement("p"); h1.textContent = "Me Ajuda";…
-
2
votes2
answers1487
viewsDynamic 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, pausally. Like if the sentence is "Hello World," he’ll show: Understand "|" as the…
-
2
votes1
answer260
viewsanimation on the main page
Includes a start animation of my project ( example "welcome" and soon after go to the main home, but in case it is the 2 together... Is it possible?…
-
2
votes1
answer33
viewsSelect radiobuttons of different values
I’m starting in the html area and I’m making some pages for myself (for testing) and in one I did there are some radiobuttons, the point is that I would like to make them mandatory the selection of…
htmlasked 8 years, 2 months ago Jefter Rocha 411 -
2
votes1
answer760
viewsHow to break line within <textarea>
I need to bring the list of people inside a textarea or some similar alternative. I’m bringing it this way: <textarea rows="5" name="pergunta4"> <?php foreach($avaliadores as…
-
2
votes1
answer307
viewsCommentary/legend in table rows
How can I add a comment/caption to table rows, similar to tag <abbr>? nome | idade | sexo <br> <abbr title="comentario/legenda 1"> Gui | 17…
-
2
votes2
answers1121
viewsWhy in the textarea with height defined the text is not centered vertically?
I have the following doubt, whether in a input text I define the height of 60px the text is centered in the field, but this does not occur in the textarea if I set a height of 60px also. I looked…
-
2
votes1
answer327
viewsJavascript to close menu accordion
I have the following code: * { margin:0; padding: 0; border: 0; font-family: sans-serif; font-size:14px; list-style: none; text-decoration: none; } .nav a, .nav label { display: block; padding:…
-
2
votes1
answer187
viewsScroll based loading bar
Hello! I wonder, if anyone has ever done or seen on any site, a horizontal bar at the top of the site, example the youtube loading bar, but it increases and reaches 100% when it is rolled to the…
-
2
votes1
answer468
viewsCLASS="active" according to a selected tab
Hello! I intend to create a notepad where a heading and a note will be inserted. For each note inserted, a tab will be created. I want to click on the tab and load the title and note into an input…
-
2
votes1
answer72
viewsProblem with margin-top css
I’m trying to put a margin on my table, I did so: .tab_dados {margin-top: 10px;} And it works, the problem is when I put an input on top of it. It sticks to it. What can be? .form-group {…
-
2
votes1
answer1294
viewsDiv below another - fixed menu
I’m creating a fixed menu and I’m in trouble. When I place the position Fixed in the div of the menu the div that was below (content) "goes up", so part of the content is hidden in the div of the…
-
2
votes1
answer70
viewsUsing a button or dropdown to separate the query by alphabet letter?
I’m using the DataTable to better organize some spreadsheets of my system, however the client suggested me the possibility of pagination buttons to be replaced by letters of the alphabet, instead of…
-
2
votes2
answers3746
viewsChange background color div
I’m trying to change the background color of div with the classes wrapper row-offcanvas row-offcanvas-left , but I’m not getting it. Would anyone have any idea how to do?…
-
2
votes1
answer39
viewsImage on top of links
Good afternoon, you guys. I made a navbar and in the center put an image, only that in that image is on top of the links in the navbar, already tried some things like z-index but no objective…
-
2
votes3
answers51
viewsRedirecting in Javascript
Because it does not redirect to the page typed in URL? function irPara(url){ url = document.irParaURL.URL.value; return location.href = url; } <form name="irParaURL"> <label>Dígite um…
-
2
votes2
answers11993
viewsBreak line in link text with &text
How to perform a line break after the word inicial <a>https://web.whatsapp.com/send?phone=seu-numero&text=Mensagem Inicial</a>
htmlasked 6 years, 10 months ago Miguel Silva 491 -
2
votes1
answer405
viewsText over div with borders
Speak guys! I have a div . presentation, in it I applied edges to become a triangle. Beauty, but I want to put a text above, but with the modified edges of . presentation, it is not aligned. How can…
-
2
votes2
answers1021
viewsSpeaker responsiveness in Bootstrap
I have two rows with two columns, the first column of the first row has an image and the second column of that row has a text. The second line has a text in the first column and an image in the…
-
2
votes2
answers113
viewsHow to use before in CSS?
The image below shows my expected result. In fact, I would like every time I instantiate the tags H1, H2, H3 in html, to come up with this outline below the title. I was researching something…
-
2
votes1
answer54
viewsProblems to filter table contents using <select>
I have a select with the genres "Male" and "Female", when selecting one of these genres, is shown another select with sports modalities and each of these modalities prints a table. I am beginner in…
-
2
votes2
answers79
viewsHow to place notifications in Title?
Following the example of facebook…
-
2
votes1
answer475
viewsDiv breaking when label content is too big
To div one-page HTML this breaking when the text size of one of the labels I have inside it is very large, I am using the following code: <div class="divRelato" style="background-color: #eee">…
-
2
votes3
answers1911
viewsLeave label side by side , bootstrap
People have difficulty leaving the Name and Subject side by side , simply will not…
-
2
votes5
answers3628
viewsmodal boostrap opens and closes alone
I’m having a problem with my modal bootstrap. It is as simple as possible, I took the example of the bootstrap site itself to test it but when I click the button, it opens and closes immediately…
-
2
votes1
answer362
viewsHow do I split items and different sub-crops on the same page?
I wanted to divide some items into different subpages, an image of an example. For example, if I click on button 1 he shows the element 1, if I click on button 2 he shows the element 2, but all this…
-
2
votes0
answers1173
viewsHow to Create frame with text in the middle of the page?
How do I create boards equal to these , also with a little transparency ? I was kind of doing this basic job.…
-
2
votes2
answers3642
viewsChange color of the icon after clicking or Hover input
I would like as soon as I click the input to change the color of my icon My form <form method="post" id="form"> <div class="input-wrapper"> <div class="icone…
-
2
votes1
answer1712
viewsTop corner responsive image - Bootstrap
Guys, ask me a question. How to insert a responsive image in the top corner of a section using bootstrap. Ex: this is the site that I am developing renpa.esy.es, however, in the fourth section that…
-
2
votes1
answer182
viewsCan I use the <figcaption> tag without using the <figure>?
I want to put captions in my photos and would like to know if I can use the tag <figcaption> without having to use it inside the tag <figure>? <img src="_fotos/imagem-2.jpg" alt=""…
-
2
votes4
answers2967
viewsHow do I put the background on the full screen, CSS?
The image does not take the whole screen, I tried to put width and height, but continued the same way the image appears on the page. HTML <!DOCTYPE html> <html> <head> <meta…
-
2
votes2
answers104
viewsTurn the side bar menu into a fixed menu
I have a little problem that for who knows should be relatively simple, but being a little new in the Front branch I’m having some problems, is the following, I need to make a site with a fixed menu…
-
2
votes1
answer4210
viewsSave contact, email and phone by clicking a link
I was wondering if that’s possible, because I have a client who wanted to do this, I don’t think so. As the title says, I need to click an image (this on the cell phone, of course) save or at least…
-
2
votes1
answer1480
viewsCheck the predominant color in the image
I have the following code that I will put below, which is responsible for taking the image that the user puts. In this case, the variable img returns only the image url. I wanted to take the image…
-
2
votes1
answer740
viewsWelcome page in HTML
Good. Before developing a website in C# Asp.net I created a sketch on Wix. Only now I don’t know how to put the first page of this kind, that is, a small window (with the index behind it) before…
-
2
votes2
answers17697
viewsSet width of <tr> or <td> in HTML5
I need to set the width of a column in a table, but the width (inline) HTML5 is not supported, according to documentation: HTML Tag In this case, it cannot be done inline ? What options ? As in…
-
2
votes1
answer179
viewsStart combobox without any text
I have a select (usually called a combobox) and wish there was no text when running the site <select> <option value="Roupa Desportiva">Roupa Desportiva</option> <option…
htmlasked 6 years, 9 months ago José Gomes 214 -
2
votes1
answer2484
viewsText aligned in the lower right corner of the screen
How to align two texts in the bottom right corner of the canvas in css, one in each row, example: IVP Inventory Variant Position IVP centered just above the meaning, but both in the lower right…
-
2
votes4
answers177
viewsHow to get the entire HTML of the last Fieldset into a dynamic page?
I have a div where multiple are added fieldsets and just below a hr: The content of div is dynamic and may have 3 or more fieldsets. In my code I could only get the contents inside the first. How…