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
-
0
votes2
answers96
viewsRadio input array in PHP form
I have the following code: for ($n = 0; $n < $totquestoes; $n++) { $al = $n + 1; $cod = $linha['codprova']; $q[] = $linha['questao']; $r1[] = $linha['descquestao1']; $r2[] =…
-
0
votes1
answer2746
viewsJquery - Add HTML attribute to a specific element
I am trying to access a specific input through your ID to add an attribute. I want to add pattern="[0-9]*" inputmode="numeric" <label class="prefixo"><input type="number" class="fitext…
-
0
votes3
answers50
viewsError while uploading files
I want to upload files, where I insert the file name into the database and the file into a folder on the server. I’m trying this way: HTML: <form class="form5" method="post"…
-
0
votes1
answer390
viewsHow to overpower the father div by getting behind the daughter div
I’m using the jQuery.Gantt in a project and need to do several customizations. One of the customizations is to hover the mouse over an element (in blue) display a tooltip. The problem is that there…
-
0
votes0
answers34
viewsDelete tr and tr Jquery children
I have a code in which I am trying to delete a contact and at the same time delete Other Email and Other Phone associated with it. However, now when I delete the contact Other Email and Other Phone…
-
0
votes2
answers70
viewsAdd Input value as a Select Option
That is the scenario: <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title></title> </head> <body> <div class="">…
-
0
votes1
answer49
viewsHow to store the Jwplayer video position in a cookie
Ola would like to know how I can change the code below that shows the position of time in which the video is in real time. I would like this position to be stored in a cookie, valid, so that if the…
-
0
votes1
answer77
viewsProblem to access modal-footer in modal
I have the following modal with the following form inside and css. $(document).ready(function() { $('.modal').css('overflow-y','visible'); }); .container { max-width: auto; margin: 0 auto;…
-
0
votes1
answer81
viewsChange CSS with Javascript
I have this code: function convert() { var bord = window.document.getElementById("borda") var b = Number(bord.value) document.getElementById("caixa").style.widht = "10px" } <div id="caixa"…
-
0
votes1
answer70
viewsProblem running external script
Good afternoon I am learning the basis of building a web page and at this stage the structure of it is <html> <head> <script src="script/download.js"></script> <title>…
-
0
votes1
answer249
viewsHelp with VBA and web to populate web form fields with cell data and trigger report output button
I have the code below that accesses the site, log in it, enter the management menu. In the managerial menu screen I have form fields where I insert initial, end date, turn and the generate reports…
-
0
votes1
answer122
viewsSingle modal for lines of a DATA TABLE
I have a data listing with approximately 1200 clients where I bring [CPF, NAME, PHONE, ONE STATUS] and a column with the control buttons, a year ago I took a mini-course in college to learn how to…
-
0
votes1
answer118
viewsInserting elements into an HTML list
I wish that when sending an element in the input, all elements present in the name array are displayed one below the other after the click, and not all in the same line as is currently happening…
-
0
votes3
answers165
viewsDifficulties in running Whatsapp button source code in HTML
I’m creating a sales website and I added a Whatsapp contact button that is at the bottom of the page (is floating if I’m not mistaken), even though I mirrored Whatsapp to the web browser it error…
-
0
votes1
answer236
viewsRun mouseover function on Avascript only once
I have a function that does some actions inside my html, the main is, this function does a request with ajax and returns me a list that is included directly in select. need q she make request only…
-
0
votes1
answer194
viewsProblems defining sizes in flexbox items
I am a laywoman in flexbox, and I have difficulty in aligning the items inside the flex, I determined size for them, but when it comes to positioning, they don’t look the same, they always look…
-
0
votes1
answer34
viewsIs it possible to remove or change an html element and keep your kids with javascript?
I have the following structure. I would like to remove the div.son longer maintain the div.grandson, Is that possible?! or changing yours <tag> would also be a solution.. e.g. change…
-
0
votes1
answer53
viewsOnly the first select works (Popular selects with Parent element php javascript)
I am developing a code to renew student enrollments, on this page the first select the user will select whether the student will go to the next class or will remain in it. I looped in php and is…
-
0
votes1
answer261
viewsAdd click event on all buttons with pure Javascript, which is equivalent to jQuery
function Listar(){ var tbl = document.querySelector("#tblListar"); tbl.innerHTML = "<thead>"+ " <tr>"+ " <th>Código</th>"+ " <th>Nome</th>"+ "…
-
0
votes2
answers48
viewsPlace alphabetical order increasing the description, when the result comes from a search through numerical field
I now have a question, how to put the relationship of employees of a certain function code in ascending alphabetical order. I’ll put the code down: <table align="center"> <tr> <td…
-
0
votes2
answers46
viewsMy page does not fully populate the mobile window. Why?
Even with the width 100% in the structure tags when I do the mobile test the page does not fully fill in: Why does this happen? * {margin: 0 auto; padding: 0 auto;} /* Por a largura se repetir…
-
0
votes3
answers45
viewsNot painting my entire <div>
When I put one background in my <div>. HTML code: <footer> <div class="footer-top"> <div class="fcontainer"> <div class="frow"> <div class="col-md-3 col-sm-6…
-
0
votes1
answer68
viewsWhy isn’t my animation working?
I’m creating an animation that was supposed to work in which it aims to appear and disappear the content of the paragraph, but nothing happens: <!doctype html> <html lang="en">…
-
0
votes0
answers38
viewsChange URL and audio remain playing
I am developing a site in PHP and Jquery where at the top of the site (present on all screens) the user will be able to click play and listen to a streaming of a live radio. The problem is that when…
-
0
votes1
answer19
viewsDelete an entire class and everything in it from an HTML loaded via ajax
I have two pages in HTML: index.html: <div class="topo"> topo </div> <div id="viewdata"> <div class="conteudo"> Essa é a home </div> </div> html news. <div…
-
0
votes2
answers492
viewsHow do I format the text typed in the input without changing the value?
Guys, I have a problem with this piece of code that I can’t solve in any way. In this case, the first two inputs receive values that are summed and this sum appears in the last input with the id…
-
0
votes1
answer274
viewsShow input when checking checkbox
I would like that when I check the checkbox, the input in front of you becomes visible, I found a function that partially solved the problem: //capturando evento de click e touch(mobile) em todos os…
-
0
votes1
answer61
viewsTable that changes color
Good afternoon everyone, I am beginner in php would like to know how to change the color of a table that receives the database information. For example I have a technical intervention form where I…
-
0
votes1
answer25
viewsAdd Divs to a given position with Javascript
Hello! I am trying to implement Divs on a website when the user clicks on an image with a + . These Divs themselves are a form of transition to other pages, however when added by javascript their…
-
0
votes1
answer84
viewsModal loses focus when closing another modal
Good morning, guys. I have a situation here that I can’t seem to resolve. is as follows: I have a Botstrap 4 Modal window. From this Modal window I press a button and open a second Modal Search…
-
0
votes1
answer119
viewshow do I make a footer that is always below all elements
Hello, I’m learning how to create websites and I came across a problem when I was formatting the footer, it wasn’t exactly below my page, in fact it was below to some extent, but when I was…
-
0
votes2
answers6721
viewsPlace elements side by side using HTML and CSS
I need to place the centered menu horizontally on the logo side, help!!! Code so far: HTML: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8"> <meta…
-
0
votes1
answer53
viewsHow to program a Celcius drive converter to Kelvin? (HTML, Javascript) this source code did not work, would be K = C + 273
<!doctype html> <html> <head> <script src="myscripts.js"></script> </head> <body> <label for="valor1">Celcius…
-
0
votes1
answer43
viewsHow do I align multiple Ivs within a container?
I’m having a problem, I’m trying to align several Ivs inside a container, more specifically 3, what I want is to get them all aligned on each other’s side, but one ends up going down and I don’t…
-
0
votes0
answers71
viewsDoubts about fetch
Good afternoon, you guys! So, I’m new to the stack, it’s a pleasure. I created an api on. net core for studies, and I’m creating a POST method but it doesn’t work at all, not even add to my JSON, it…
-
0
votes1
answer42
viewsSettimeout, make the text come out after a while
<div> <input placeholder="Adicionar morador no 1° Andar" type="text" id="name1" style="margin-bottom: 40px;"> <input type="button" value="Adicionar" onclick="adicionarMorador1();…
-
0
votes1
answer160
viewsTwo javascript functions on the same page
good morning! I have a little problem in my code and I am new in the programming area, I do not know if my doubt is this well, but, I will show you the code and describe how I want to reach my goal:…
-
0
votes0
answers27
viewsFocus tooltip vuejs
Good evening, you guys. I’m trying to give FOCUS a tooltip when the result of a query made by the user returns empty. When the user types something in the text field, I perform a validation upon the…
-
0
votes2
answers163
viewsMove up HTML table using CSS
I want to upload an HTML table and leave it at the same time as the form to the left of it, I have tried it in several ways (top, vertical-align, etc), but without result. body { background:…
-
0
votes1
answer35
viewsIs the <audio> element part of the "Palpable content" group or not?
I wonder if the element <audio> is part of the group Palpable content, because according to the website WHATWG they mention: If the element has a Controls attribute: Palpable content. That is…
htmlasked 4 years, 7 months ago felipe cardozo 275 -
0
votes1
answer126
viewsInsert HTML code block with javascript
Despite being new to the forum, I follow here for a long time and is always a great source of knowledge. But I do have a problem that I haven’t been able to solve yet. I am creating an occurrences…
-
0
votes1
answer121
viewsHow to Remove an image that is highlighted within the post
All right? I need help, I own the following website https://www.tibiatravel.com... is a Fan Site game that I am riding. My problem, to get everything organized and straight on the home page I need…
-
0
votes0
answers31
viewsPassing a Function with parameters in HTML
Aoba, what is it? I’m trying to make a delete in my backend be called in HTML when a person clicks on a certain button. Then I’m passing a src script, to the file that has this Function. And in…
-
0
votes1
answer156
viewsCreating dynamic id for my div s in Javascript
I created a function that when I click on a <div>, she creates another <div> with the attributes of class and id. In that same function I created a loop for to be able to add id…
-
0
votes2
answers560
viewsHow to center image
I have a menu and I’m trying to put the image to the center and leave 3 links to the left and 3 links to the right, I used: display: inline-block; position: absolute; top: 50%; left: 50%; transform:…
-
0
votes1
answer240
viewsEnable button when fields are filled in
I know there are already some topics with the same theme, but my case is a little more specific. I have a form with some hidden fields that only appear according to the change of some selects. I…
-
0
votes0
answers667
viewsWhy does the attribute "autoplay" not start audio?
I am creating a page where I need to play a sound automatically as background in an infinite loop. The problem is that even using the attribute autoplay, audio does not start. See below my code:…
-
0
votes1
answer182
viewsProblem with fetch function using onClick event
I am developing a logic that until then works perfectly. Access an API by fetch, receive a token and run an SQL call to another API, using the token received, then treat the return to be displayed…
-
0
votes1
answer253
viewsDynamic form filling within modal div
Good morning, everyone! I would like some help... I have a modal div, which opens me a short form to fill out. What I need to do: fill out this form dynamically! That is, when opening the modal the…
-
0
votes1
answer121
viewsModal does not appear after clicking the checkbox
Good morning. I am working on a system made in Angular 8, where, when we enter the home, a welcome modal appears. For now, this modal keeps popping up every time we come home. I would like this…