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
-
1
votes2
answers398
viewsHow to clear shopping cart after checkout
I created a shopping cart, where in a table it lists all products in the database and as the user clicks to add it includes in the cart (which is another table below the list of products, on the…
-
1
votes0
answers35
viewsTreat Customerror ASP.NET
Good morning, I was having an error publishing the Runtime error site, I created a blank ASPX page and added the tag to the web.config <customErrors mode="On"…
-
1
votes1
answer45
viewsCommand order in robots.txt
Hello, I found a file robots.txt with the following directives inside the file User-agent: Googlebot Allow: * User-agent: Bingbot Allow: * User-agent: facebot Allow: * User-agent: * Disallow: / My…
-
1
votes2
answers50
viewsHTML and CSS contact selection
Hello, I was recently looking at a site and I found very interesting a selection/filter system in the contacts tab (https://www.evoluaja.com/contato/) When you open the contact page, you are asked…
-
1
votes1
answer1094
viewsSelect Option with filters
Example of the first Box: <h5>Filtrar por Marcas</h5> <select name="filtrar_marca"> {% for category in categories %} <option value="{{ category.name }}">{{ category.name…
-
1
votes1
answer724
viewsWriting Html using javascript
I was studying some jquery plugins and realized that to create html, the programmer wrote each line in an array and at the end used Join: var tpl = [ '<div class="popover…
-
1
votes1
answer610
viewsAligning images within Bootstrap Panel
I got the following Panel: <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title">Header</h3> </div> <div class="panel-body">…
-
1
votes2
answers90
viewsHow to change div 3 inline images to only 2 inline images for tablet mode
Good afternoon, I’m a beginner in Html, CSS and Javascript and this is my first project. My group and I are doing a website on theme parks. Almost at the bottom of the page, I have 3 images in each…
-
1
votes0
answers1090
viewsFunction to export table in html and php to Excel
The function really works in Chrome, but I have a problem to make it work in IE and Firefox and I need to export in Excel to these two browsers, for one project. What changes would be needed? I’ve…
-
1
votes2
answers180
viewsASP.net Javascript does not recognize Textarea if it has a runat="server" tag
I have a problem with my Javascript. I am using a server code to do the numbering in a Textarea when the user gives Enter, however, if that TextArea has the tag runat="server" Javascript does not…
-
1
votes1
answer588
viewsAdd a different image in a div to each loop using javascript
I need to add a different image in a div. I used a for to make this loop. Is there any manipulation that I can do in the img tag that I am adding so that each loop is changed the name of the image?…
-
1
votes0
answers102
viewsHow do I upload files in GIT that are more than 50MB in commit size?
I’ve tried using Git Large File Storage but ended up not working.…
-
1
votes1
answer810
viewsRemove dynamically created html element in ajax Success
I created an ajax request to dynamically create a new element li, however I have a function also in ajax to eliminate registration and in success eliminate the li valet. The problem is that, in all…
-
1
votes1
answer41
viewsHow do I get my content behind my popup?
Every time I click on my popup button, my content "goes down". How do I get the popup above the content? body{ padding:0; margin:0; } .container2{ position:relative; margin:0 auto;…
-
1
votes2
answers68
viewsStylized Radio Input Does Not Pass Post
Opa, I have some radio buttos via css are exchanged for colors. <div class="radio-cores"> <input type="radio" name="cor" value="1" /> <label…
-
1
votes2
answers767
viewsDynamically add images with Javascript
How to add an image dynamically inside this div javascript ? div class="toad" id="mushs"> <img id="image" src="mush.png"> </div>
-
1
votes1
answer87
viewsWhat is the best way to store data locally?
I need to develop a web system to run without a server, the system in question will only save client data and schedules. I would not like to use a database server, because it becomes annoying that…
-
1
votes1
answer324
viewsHow to insert single quotes inside simple html quotes
I need the placeholder for my input tag to be "Patient’s Name" and thanks to the script being used, I can’t double quote. I would like to know how I can insert a single quote within two single…
-
1
votes2
answers2847
viewsLeave an Hide(hidden) element with javascript
I have an element with the ID="not1" which is a link to news titles inserted being created dynamically with the respective news of each title class=" col-Md-12" as shown below. <div…
-
1
votes1
answer139
viewsWhat is the difference between the pseudo class :root and the * {} in CSS?
Do the two have the same function? Both generally define certain procedures. When I should use one or the other?
-
1
votes1
answer197
viewsTaking Mysql Data Using Php and Passing to Javascript
I’m using that code: <?php include '../config/config.php'; if($_POST['type'] == 'load_url') { $id = (int) $_POST['id']; $sql = mysql_query("SELECT * FROM players WHERE id='$id'"); $item =…
-
1
votes1
answer202
viewsMissing list items with jquery or javascript
I have the following codes below and I need to make sure that when I click on the autocomplete result, and it fills the field with the values, the list of the autocomplete simply disappears:…
-
1
votes1
answer458
viewsSame page, different content?
All links have the same url but the data is different.. I’m working on a web based project that I have: categories of games: games(table with games in each category) description of each game(are…
-
1
votes2
answers1775
viewsHow to remove all elements from a javascript div?
How to remove all elements of a div at once removeChild() removes only one element?…
-
1
votes1
answer179
viewstake value from an elementbyid.innerhtml to calculate and place in html
Oops, so... I have a value of an input type range that is being played in a span I want to take the value of that span with javascript, make a calculation with that span number and put in another…
-
1
votes1
answer111
viewsCan you get Event.preventDefault() if the call has parameters?
I’m doing an operation where I got the call of a method, in this specific case how I could catch the event.preventDefault() form. <button type="button" class="btn btn-primary"…
-
1
votes1
answer213
viewsFunction calculates date and returns invalid date
I have the following code: //função exibe data de hoje no campo cancelamento function Data(){ data = new Date(); dia = data.getDate(); mes = data.getMonth()+1; ano = data.getFullYear(); if (dia…
-
1
votes1
answer728
views -
1
votes1
answer64
viewsHeader fixed over subtitle by clicking on a content index anchor
I have a fixed header at the top of the page, which calls a index, this index allows you to navigate the text using anchor, the point is that when I click on an item of the index, navigate to the…
-
1
votes3
answers1263
viewsHow to make a field from a clickable table?
I’m doing a project where when I click on employees, it opens a page with a list of employees as you can see in the photo. I need the name of each employee to be clickable, so that later, I can open…
-
1
votes4
answers192
viewsSumming up 3 inputs
I have an input that is required with currency Mask but the user can enter 2 more inputs. I am not able to do this calculation, especially when the 3 inputs of values are not used. Value input only…
-
1
votes2
answers91
viewspart of my php code is displayed in the browser when I do not open with localhost. How do I resolve?
if ($validacao) { $pdo = Banco::conectar(); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = "INSERT INTO perguntas (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10) VALUES…
-
1
votes1
answer141
viewsHow do I display a person’s name in the onclick message="Alert()"?
I made a customer registration file I wanted to enter the client’s name in onclick="alert()" every time the registration operation was made showing his name with the message Cliente fulano…
-
1
votes1
answer269
viewsWhat are mailto parameters for and how to use them?
I know the key word mailto: used in attribute href in the link is used to open the user’s email client for sending the email, but did not know that there were some extra parameters, which can be…
htmlasked 4 years, 11 months ago Mirian cherbo 95 -
1
votes1
answer123
viewsJavascript line breaking is not working
I’m trying to insert a line break into a simple code: var meuNome = "Danilo Costa"; var idade = 18; var ocupacao = "dev Front End"; var interesses = [ ['Jogos',['world of warcraft']],…
-
1
votes0
answers257
viewsIframe - View youtube videos
Good morning guys, I would like a help, I need to display latest videos from the youtube channel on the site. This code I used worked, after loading the page, it displays the last five videos:…
-
1
votes2
answers6249
viewsHow do you always leave Footer at the end of the page?
I leave this below only for information even... CSS of my page: body{ margin: 0 auto; padding: 0; min-height:100%; position:relative; } head { display: none; position: relative; min-height: 100%; }…
-
1
votes2
answers2955
viewsApplying scroll to table keeping header fixed
I was looking for a way to apply the scroll vertically and horizontally keeping the header fixed to my table. I found in that fiddle a possible solution to this case. $('table').on('scroll',…
-
1
votes0
answers71
viewsSending of Modal Multiselect data
I would like a help with this code: I am sending information from a table for modal and this table will have data of the groups separated by comma and I would like it to be selected in the modal in…
-
1
votes1
answer32
viewsUse scroll event in a specific element
Fala Pessoal! I wonder if it is possible to accomplish something like in the code below: const elemento = elemento.document.querySelector(".elemento") elemento.addEventListener("scroll", () => {…
-
1
votes1
answer224
viewsCode being performed only when double-clicking?
Well, I had to make sure that when I click on a button I would show the div’s and if I click on another button and some div is showing up (display:block;) I would acquire a display: None; that’s…
-
1
votes0
answers22
viewsHow to divide a page into tabs
I’m making a site that I’ve hosted but after that , I saw that it’s very slow because it has many images to load at once, so I thought I could divide it into tabs to get to 10 elements and buttons…
-
1
votes2
answers38
viewsHow to add an iframe via JS?
I’m trying to add a simple iframe to an html page, but it’s not working: var ifrm = document.createElement("iframe"); ifrm.setAttribute("src", "http://www.google.com/");…
-
1
votes1
answer22
viewsHow to get the parameters of a closure in php
How could I pick up the parameters of a closure? I was doing some tests and I gave one var_dump in a closure and she returned me that object(Closure)#5 (1) { ["parameter"]=> array(2) {…
-
1
votes3
answers3465
viewsHide text when it does not fit inside the div
Well I have a div with the following class c-txt, note that when the text does not fit inside it, the text is summarized with three points (...). I need to do this with the div txt to avoid breaking…
-
1
votes1
answer86
viewsHow to fill in a dynamic html form
Good evening, everyone. I have a question here, I hardly touch with web, but I needed to assemble an html file that aims to print a boleto. The project is done in C# and the html file is next to the…
-
1
votes1
answer73
viewseach of jquery does not find "TR" dynamically added to table
Hello, I have a table where the first TR of it is fixed containing some inputs to search Assunto | Data | Categoria input1 | input2 | input3 item1 | item 1 | item 1 Where this item 1 is added…
-
1
votes1
answer982
viewsHow to put a div on another with responsive?
Guys, I’m still a beginner, but I managed to make a 'gallery' for me, but I’m having difficulty putting an image and text on the items in this gallery. As you can see in the code below, when I…
-
1
votes1
answer48
viewsHow to center a fixed menu (div)?
The menu should be fixed and so I used the position: fixed;. When I use the margin: auto, that is to centralize a div, doesn’t work... #menubarra { position: fixed; height: 50px; width: 80%;…
-
1
votes0
answers40
viewsHow to put a div overlaid to a video embed in fullscreen?
How can I have a div superimposed on a Youtube-soaked video? I wish in the case below, the div id="banner" stand in front of the video when it is fullscreen: <iframe width="560" height="315"…