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
votes5
answers1389
viewsDisable body click for a period of time
Would there be some way to disable my click events body. When I call a function I would like to disable the events in the processing which is a little time consuming and when it finishes activating…
-
2
votes1
answer1369
viewsHow to get a value in javascript link
Hello! How can I get certain values in a link? I have a url like this: slide.html? title=Volume name=12 but I only want to display the volume value in an H2. My Code: $(document).ready(function(){…
-
2
votes1
answer103
viewsLabel concatenating subsequent results, how to clear the previous result?
Explanation I have two label elements that receive the results of an account made within the code (lamp expense calculator), when I click to calculate, it calculates and inserts the result of the…
-
2
votes1
answer46
viewsFetch table value and put in form
This is the table has the fields the goal is to click the edit button and while clicking the instruction jquery that I put on top will fill in the fields automatically referring to the line that was…
-
2
votes1
answer59
viewsresponsive website, CSS problem
Everything was going very well, but I came across a problem in my css.. One is my footer, that even if I change the background color it gets the background color of the body My top css code: @import…
-
2
votes4
answers6985
viewsHow to underline html / css
How I take this subline of dark blue or how to change the color? the code in html: <section class="esp"> <div class="facebook"> <img src="images/facebook.png" alt="facebook"> <a…
-
2
votes1
answer988
viewsEdit select by displaying bank value and showing other table options
I have the table that registers a user (gr_entity) and has a link with a user status table (gr_entidade_status). I want the editing form (editando_user.php) to show the value that is in the…
-
2
votes1
answer106
views<P> closing before the </P> tag
I have the following code to generate an Owl Carousel inside a div of the site I am developing, but when I see the html tag <p> closes before the div of Carousel, leaving the layout totally…
-
2
votes2
answers120
viewsRetrieving database data and calculating inputs
good evening I’m having a hard time performing a data recovery on I recover but wanted the recovery to be simultaneous I will explain better and once you see the code you will understand.…
-
2
votes1
answer381
viewsCalculate horizontal distance of an element
I’m trying to customize a button submit using Bootstrap 4 Beta 3. The idea was to do something stylish "slide to Unlock"; however, it is only working in a resolution above 992px... I believe this is…
-
2
votes1
answer6731
viewsHow to keep the input date bootstrap on the page?
I implemented the "date" class of Bootstrap 3. When accessed the page, the field is rendered normally, but at the end of the page load the input text and the calendar icon simply vanishes.…
-
2
votes1
answer238
viewsHow to Detect if the user uses Adblock and make a decision based on the answer?
I have a problem with Banner do Ebit When the user has some Adblocker installed it keeps running in loop and overloads the browser because the page does not stop reloading and hangs I want to…
-
2
votes3
answers1161
viewsHow to send an object array type variable via AJAX?
I have the following object: var pessoas = []; pessoas = { nome: "julio", sobrenome: "Henrique", idade: 18, amigos : ["Pedro", "João", "Isabella"] } I send the friends array via ajax like this:…
-
2
votes0
answers67
viewsI can’t save photo in the bank
I am creating a web application that registers employees,and in this register there is an option to upload photo to link to profile, but when registering null arrives in the bank. Can someone help…
-
2
votes1
answer1831
viewsChecking whether an item is visible or not on the page
I have the following buttons: First button: <button id="modal-btn" class="button btn-cart btn-verde-claro"> <span>Comprar</span> </button> Second button: <div…
-
2
votes0
answers66
viewsWeb Developer: Evolution Advice: Next Step?
Good morning to all, I need your advice and your experience to evolve your career. I have been a Web Developer for 2/3 years. I have always worked on doing everything from scratch, working with…
-
2
votes4
answers974
viewsAdd Select Multiple values
I got the following select: <select name="idservico[]" id="idservico"> <option data-valor="25,00" value="1">opção 1</option> <option data-valor="20,00" value="1">opção…
-
2
votes2
answers430
viewsHover - css does not work
I’m doing something stupid but I don’t know which. Basically I’m trying to create some css classes, but it’s not working as expected td.ok { height:26px; padding-left:4px; padding-right:2px;…
-
2
votes3
answers1697
viewsHow to achieve this effect in a progress bar?
How to do this effect on the text inside the progress bar where the text changes color according to bar fill, and when the bar reaches the text, only a part of the text changes color? See that when…
-
2
votes2
answers370
viewsError "Show More" html button
I created an area on my site where it contains a small text, and a button at the end "Show More" I put two items like this, But every time I click on the "Show More" button on the second item, the…
-
2
votes1
answer219
viewsPosition Absolute not activate overflow: auto
How can I make for the div absolute(id 3) stay on top of the others Divs and does not activate the overflow of div father(id 2)? <div id="1" style="background: red; width: 400px"> <div…
-
2
votes2
answers46
viewsI’m having trouble getting this div centralized and Responsive
I’m having trouble letting that div centralized and Responsive someone could and help? .ml{ text-align: center; color:#3A89AF; } .ml p{ text-align: center; color:#000; } .ml a{ text-decoration:…
-
2
votes3
answers779
viewsPrint page with Background
I am working with creating and printing reports with PHP, where a web page is generated with the content of the report. I would like to place the "CANCELED" watermark when a report is cancelled. For…
-
2
votes2
answers4011
viewsShow and IDE jquery effect
How do pro jquery open only the box I clicked, without opening the others. I tried to use $(this), but I couldn’t. Not the way I want. HTML <div class="main"> <i class="icon…
-
2
votes1
answer122
viewsHTML5/CSS3 slides - Background does not change
Guys need help with CSS3. I’m using keyframes/Animation to change the image of several article classes, where I’m using CSS to change the background in the following percentages 0, 30, 35, 65, 70,…
-
2
votes2
answers368
viewsHow to put this kind of Hover?
The Hover I want is this : http://prntscr.com/i4vr9n My Hover is like this: http://prntscr.com/i4vrsk My css and html html{ font-family: sans-serif; } header{ width:100%; height:58px;…
-
2
votes1
answer3724
viewsHow to link files in different folders?
I’m having difficulty making a link between two HTML pages, the hierarchy of the folder is this: I want to link the file: J: Totem_app XPLACES acess cid_vitoria 1_acru.html that has a button in your…
-
2
votes1
answer774
viewsChange image by clicking, when clicking again return to initial image
I need to change the icon every time I click and keep that other icon until I click again, then it goes back to the initial icon. How do I do this? Below is the code I’m using to create this menu.…
-
2
votes1
answer1065
viewsHow do I store various values in each "option" of a "select"?
I have a option and two inputs to feed according to the result of select. In the select the user is chosen and in both inputs the address and email of the selected user are entered. I wonder if it…
-
2
votes2
answers206
views -
2
votes3
answers46606
viewsMask for HTML5 Input fields
I am applying a mask addition feature in my code, even when the user fills the phone or mobile, to chew be filled automatically. However, my page does not return anything while user type.…
-
2
votes1
answer293
viewsAll tabs appearing when updating page materialize
Does anyone know why this happens? When I refresh the page a part of the following tabs appears and then disappears when it finishes loading. I want to prevent that from happening. HTML <section…
-
2
votes1
answer769
viewsSend form without Ajax and without updating page
When you want to send a form without updating the page, you think of Ajax, which is a practical way to do this. But there would be another way to do it without using Ajax? For example, I have the…
-
2
votes3
answers1479
viewsExpand options of a select element by clicking button
It is possible to force the display of the options of an element <select> through javascript? The idea is to simulate a user’s click on select. Imagine that I have one select disabled, and by…
-
2
votes1
answer244
viewsHow to increment a div using For Javascript
I’m with this code but it’s not picking up. I want to increment every click on "Increment". Code: function incrementar(){ for (let i =0; i<10; i++){…
-
2
votes2
answers220
viewsDoubt about htaccess
I have a friendly link that would be localhost/artists/nome-do-artista/, but I want to create pages inside it for example Biography. localhost/artists/nome-do-artista/biography, only that my…
-
2
votes3
answers197
viewsWhy does parseint return Nan?
I’m with this code: function aparecer() { const elemento1 = document.getElementById('numero').value; const elemento2 = parseInt(elemento1); alert(elemento2) } <html> <body> <button…
-
2
votes2
answers77
viewsOpacity only in li and not in span
I have the following code HTML: <li class="item produtoDesabilitado" id="1028" style="border: 2px solid rgb(255, 255, 255) !important; height: 346px; padding-bottom: 22px;"> <div…
-
2
votes2
answers681
viewsExchange contents of a div for an html file
I am making a simple portfolio that will not need any framework as angular or React, what I would like and do something so that I could create separate html files and a main just by swapping the…
-
2
votes2
answers357
viewsI want an image to close and start a five-second countdown
I’m trying to make an image go up to the top by clicking on it below. After you have climbed I want you to click ( click here to close) I want you to start a count of 5 seconds and then close when…
-
2
votes2
answers1042
viewsButton does not direct to another page
I have a button that when clicked on it, the localStorage takes his ID, then plays the id to the other page, but when I click on the button it is not directing to the other page, only changing the…
-
2
votes4
answers549
viewsFooter with one line
I am using bootstrap to make a footer, but currently it is playing each element in a row like this: I wanted him to stay on a single line like this: <footer class="footer"> <div…
-
2
votes1
answer345
viewsHow to take data from an input and add the properties of a Javascript function?
I’m having a lot of personal doubts. I would like to take data from my input and place it within properties of a function. If the function could be performed ( capture all data) would display a…
-
2
votes2
answers214
viewsSet dynamic height for div with javascript
I’d like a script that takes my div with the class master and define height: 100% according to screen size. html: <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
2
votes2
answers7788
viewsChronometer in JS
Guys I made a stopwatch on JS but it "Treme" when I run it, is there any way to fix it ? var centesimas = 0; var segundos = 0; var minutos = 0; var horas = 0; function inicio () { control =…
-
2
votes3
answers827
viewsIs it possible to insert an SVG as value into an input tag?
I have the button below and what I want is that instead of the name "Go", I can use an image, be it in SVG or even something from Font Awesome. How to proceed in that case? From now on, thank you!…
-
2
votes1
answer1370
viewsdoubt select with modal
I’m having trouble executing an action on my website. I have a select with some options, I need to select one of the options and give Submit on a button, while doing this would have to open a modal…
-
2
votes1
answer59
viewsCSS: Keep Values Aligned
Good evening, I’m having a problem in CSS I would like to organize the releases of my users in one line. I’m not very familiar with css , I would also like to know what tips you have to unravel this…
-
2
votes1
answer132
viewsHow to stop the translator google dropdown from disappearing?
I’m trying to implement the translator google dropdown, within a button. Now by clicking on the translator google dropdown, it does not show the countries/languages. Here’s the code I’m currently…
-
2
votes2
answers236
viewsJquery - Having 2 menu(hamburger), how to close one menu while the other is open?
Good afternoon to all! I made a structure where in mobile I need to show 2 menu’s, but when clicking on a precise one the other closes and I’m not able to do it, currently I can only open and close…