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
votes1
answer26
viewsJavascript does not list elements
I’m having difficulties in the block that should list the elements created by Function get TributesDosElements, it was to list next to the strings, but at the end no list. <style> section…
-
1
votes1
answer349
viewsClear modal after entering record in database with php and ajax
I’m saving a record inside the database MYSQL with AJAX. The problem is when I will insert a new record with modal. It brings the record I entered earlier. How can I make the modal after…
-
1
votes2
answers3096
viewsHow to make a gif of loading in Javascript?
Guys I have a very stupid problem in my HTML project, where I wanted to show a gif of a page being loaded, but it is a long time beyond what I report and with this, my real page is not to be seen.…
-
1
votes1
answer2264
viewsScroll Soft Bootstrap
$(document).ready(function() { $(".scroll").click(function(e){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000); }); }); .menu{background:#ff0;}…
-
1
votes0
answers23
viewsAdd a die to a table’s specific cell
I have a form with an hourly filter and would like to add an X in a specific cell for that table time when click the button and it add a new line with the chosen field marked with the X this and my…
-
1
votes2
answers654
viewsGet src attribute content in <img> tag via javascript
I’m trying to make a password field, which by clicking on an image next to it, will make the password visible, and with that also I want to change the image when the click occurs. My HTML is like…
-
1
votes2
answers25
viewsSpecify element not to receive properties from other main elements
I have a menu and I just wanted to specify an element so it does not receive the same properties applied in the others, in case the element would be #Lk "PRODUCTS" it is receiving all attributes…
-
1
votes2
answers108
viewsAccount with received data and mysql data
Good afternoon, it is the following in my project I need to do an account so at the end have the result for the customer know how much to pay, but I am not able to do this account. In my case, I ask…
-
1
votes2
answers188
viewsHow to clone Divs from a past Select number?
I need to create a select with values from 1 to N numbers. After the user selects a number in select I have to clone the div lote from the selected value. Example: if I select number 2 in select,…
-
1
votes1
answer31
viewsAjax script does not work
I am trying to fill a combo box (cities) in the change of another combo box (states), and I tried to fill this out via AJAX, but the script I made is not running, if anyone can help me, I thank you…
-
1
votes1
answer126
viewsHow to Add an "overflow:scroll;" on the side of an extended datalist
I have a search bar type="text" next to a datalist, but I’m not succeeding by adding a scroll bar on the side of the displayed content, because the more we add names in the 'option value="" the more…
-
1
votes1
answer101
viewsError with Sticky Navbar
I have a problem related to Sticky Nav, basically it works and is even beautiful, but when inserting the bootstrap it overwrites Sticky, I was only able to fix removing the bootstrap and doing…
-
1
votes1
answer32
viewsTo add links in a select and change the width of the select box before clicking
I tried to add a link reference to an item in a list 'select' "number 2" and it was not possible, which solution should I join to link this item?? and it is also not possible to increase the width…
-
1
votes2
answers567
viewsInsert array into a database using PHP
On the site I’m creating I have a form where people can add various topics. My problem is at the moment where a second or more topics is created because only the first one goes to the bank and I…
-
1
votes1
answer6638
viewsHandling of variables in HTML
Hello... The world HTLM / JAVASSCRIPT / PHP is totally new to me. As a beginner, I count on your help to develop a small project. Come on... I have an INDEX.HTML page that receives a value via URL.…
-
1
votes1
answer85
viewsjs error in modal(popup)
My doubt is about a modal code that I have modified for error js and modal does not open this is the html part: <div class="page-wrapper"> <a class="btn trigger"…
-
1
votes1
answer107
viewsInteraction in browser behavior when leaving the page
Is there any way to open a question modal, when the person tries to quit a game in the browser, type, changing the address in the URL or giving refresh, or even more difficult, wanting to close the…
-
1
votes1
answer31
viewsPlacing table titles in the table
I want to reduce the size of this table but the title (the schedules) fixes the size of it there so I wanted to play the titles standing to timinur the table space…
-
1
votes2
answers375
viewsShow content according to Select
How do I make that when the user selects the drive, show the div of the contents according to the selected drive? It would be with jQuery? <div class="form-group"> <label>Selecione a…
-
1
votes1
answer213
viewsjQuery function that closes the search field by clicking on Esc
On the site where I am developing, there is a field of research that only shows the input when you click on the button. Now I want to close the input when you click the key Esc (when the focus is in…
-
1
votes2
answers313
viewsKeep the value of a countdown counter with javascript
I have a regressive quoter, but when the browser is updated it returns from the beginning, what I need is for it to keep counting even updating the page. I have been researching this solution with…
-
1
votes1
answer63
viewsLayout: Onepage only with HTML and CSS (with Transition)
I’m creating a layout "Onepage", however I would like to do it only with CSS and HTML. The idea is when the user click next the same will be moved to "Section 01", this already done, but I’m not…
-
1
votes1
answer623
viewsFormat summation result with comma - Jquery
I am making a sum of all the values related to a column of a table. When returning even to html, it is being returned without the comma. How can I proceed so that the comma is presented in the…
-
1
votes0
answers135
viewsIs it recommended to use <link href="#"> or <script src="#"> with external addresses?
I would like to know if there is any correct (or more efficient) way to use existing . css or . js files. If it is advisable to request external addresses or it is ideal to use within my…
-
1
votes1
answer226
viewsBackground problem with Iphone 6, 7 and 8
I created a layout and my background image is not appearing on Iphone 6, 7 and 8.Testing locally by Chrome appears quietly, but when I test on Iphone 8 it disappears getting only the background…
-
1
votes1
answer90
viewsRegister button opens on its own
I have a problem, when entering my site my registration button opens automatically, I wanted to take this functionality, but I am not able to and when I click the login button if the registration…
-
1
votes1
answer257
viewsChange values according to selected option
I have a table of plans here, and in it I had 5 columns, for 5 planes obviously. In each column there is a select to choose the periodicity of each plan. According to the option selected in this…
-
1
votes1
answer50
viewsChanging the style of a clone
I have a button that when clicked, it creates a square on the screen, which is a 100x100 div, like red background. For each click to appear a new square, I used container.appendChild(clone) being…
-
1
votes0
answers57
viewsScript php and ajax does not run on my machine
I am making a registration system and for this I am using php and ajax, I made the two pages correctly I believe, when I run the script the validations I put in php perform perfectly and returns…
-
1
votes1
answer25
viewsI cannot validate the image extension using charAt
I am trying to make a simple validation in the extension of the images that will occur the upload, but it is not working very well so far, could help me? Follow the code I’m trying to make work. var…
-
1
votes1
answer34
viewsHow to recover the amount of elements within a card-group
I have a card-group that I need to know the exact value of elements within it, because I want to create another card-group with 3 elements and so on... I made a card-group with 3 elements to test,…
-
1
votes2
answers37
viewsEnabling and disabling input
I created a script to enable and disable fields on my page but they are not running. $(document).ready(function() { $("#EditarDados").click(function() { // habilita o campo…
-
1
votes1
answer781
viewsFlex display does not work with CSS property
I am unable to use the following Ivs with the properties: .grid { display: block; } @media (min-width: 992px) { .grid { display: flex; flex-wrap: wrap; } } .column.left { flex: 4; background-color:…
-
1
votes0
answers451
viewsRadio Button does not work
I created a form and put a radio button disabled and let it be enabled at the click of a button, when the button is pressed it is enabled but I can not change the option, the radio is locked in an…
-
1
votes2
answers41
viewsinput declared not accessible in javascrit and php
I created a form and I’m trying to get the data of a radio button, and an input, but I’m not able to access them via POST in php or the javascript in which I’m using a function to disable the fields…
-
1
votes1
answer31
viewsClick function with a model variable
Hey, guys, I got a model receiving the value of a web api perfectly, but the problem is that I have a function that needs to catch the value of model and put in the click function as parameter and…
-
1
votes2
answers3029
viewsModal Bootstrap 4: How to call another within a modal
Guys... I have a registration modal. Since I would like to call another modal, being still inside it. I mean... It would be superimposed on my registration modal. I’m using the code to call my modal…
-
1
votes3
answers223
viewsClick and block inputs function
Good morning!! I come again to ask questions... I need to know how I do so that when I click a button, it will be able to block(disabled) all inputs or selects that I want, basically, maybe *ngIf…
-
1
votes1
answer241
viewscall a page by passing parameters in the url
I have a simple HTML file that is accessed by: https:111.111.111:8080/index.html/?login="me"&password="1234" The problem is that when trying to access it gives page non-existent. I put a page…
-
1
votes0
answers28
viewsDatatables - Column for Row
I need a column of a table created with the DataTables appear in mode row, ie this would be the normal table: Id | InfoColuna | InfoColuna2 | InfoColuna3 |…
-
1
votes0
answers35
viewsDeploying Skype to site
I’m testing the skype Webcontrol feature, where it’s possible to add a skype chat window on the site. But I have a few mistakes I’m having trouble solving. The window itself appears, but errors…
-
1
votes1
answer711
viewsGrid bootstrap containers side by side
I am doing a PHP project, and in it I have to display the products on the main screen as soon as it is registered, it is displaying one below the other, but I want to show them side by side, when…
-
1
votes1
answer113
viewsRedirect to next page after downtime
Good morning! I’m creating a rating system, consisting of choose the option, the user is redirecting to another page to leave a comment, and of followed showcase another page to thank, and it all…
-
1
votes2
answers668
viewsSELECT pulling data from Database
I’m not getting a select to pull the data from the database, I wish someone could help me... <!DOCTYPE html> <html> <head> <title>TODO supply a title</title> <meta…
-
1
votes1
answer59
viewsAutocomplete does not work on adding remove inputs
I am developing a quotation form and in it I add and remove lines to register products and in each line there are two autocomplete fields, where search the product by code or by name. The first line…
-
1
votes3
answers136
viewsDelay before showing a div
Okay, I don’t understand what I’m missing. My idea was when to walk the mouse over a div, show the div who was hiding. .main_container:hover .hidden_container { display: block; } .hidden_container {…
-
1
votes2
answers651
viewsHow can I use mouseover to change the background color of a div?
Hello, I would like to change the background color of a div when you put the cursor on it, how do I do this? Div in question [HTML]: <div class='container2'> <div class="MP"> <img…
-
1
votes1
answer174
viewsHow do I calculate the "positives" and "negatives" functions of a json file for HTML in percentage?
Save, I have a JSON file with variables "positives" and "negatives", I would like to transform these values in percentage, "positives" being "like" and "negatives" being "don’t like". After that as…
-
1
votes2
answers29
viewsInsert Event date into a table if page width is less than a given value
What I want to do is when the width page is less than the value shown below it enters data-tablesaw-mode="stack on the site shown below! I am new in JavaScript but I need this for a project! Thank…
-
1
votes1
answer110
viewsShow div after jquery validation
I have a function that validates the empty fields, when completing all fields and clicking on the button I need to show the hidden div, how can I implement this function to validate and show the div…