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
votes1
answer46
viewsblock access to a javascript-only page
I have an index.html file, which after login is directed to a page called home.html there is some way to block direct access to this javascript-only home.html?
-
0
votes1
answer154
viewsSwitch javascript always falling into default
I’m studying js, I want to make a second converter in minutes and hours. I was doing a test to see if everything is working 100% and I’ve come across a problem. I’ve been racking my brain for almost…
-
0
votes1
answer3265
viewsHow to get input checkbox array value with jquery
I’m not able to verify if at least one checkbox was checked before giving Ubmit in the form. I saw that you have some questions similar to mine, but none of the solutions worked out for me I used…
-
0
votes3
answers892
viewsI can’t get one div stuck on the other
I want to put the 3 divs on the same line with width: 33.3333%, but a space is appearing between them. Note in the image that the padding, margin and borda are zero, and I have declared…
-
0
votes0
answers14
viewsProblems with HTML5 Setup form -> Phpmailer
good afternoon! Well, I opened a small business, and I’m doing my site myself (rs), I haven’t done anything in PHP and, even worse, in Js. Basically I took a code ready somewhere on the internet for…
-
0
votes0
answers5
viewsDiv or fieldset?
I recently made an html form with Divs to separate the fields, because it was the only way I could do it. But today I saw about the tag fieldset, so I wanted to know if it is correct to do with css,…
htmlasked 3 years, 3 months ago Kalia Evelin 1 -
0
votes2
answers76
viewsAdd more than one image in slider
I wanted to put more than one image in this slider. Currently, I can only put one. How do I put more than one image? HTML code <div class="banner"> <div class="container"> <div…
-
0
votes0
answers17
viewsdisplay specific content in HTML iframe
I have in the "page1.html" two div Example: <div id="teste1">teste1</div> <div id="teste2">teste2</div> in "page2.html" I have an iframe and in it I want to display only one…
-
0
votes2
answers1483
viewsMandatory field message with jQuery
People I made a validation that when the user does not fill the input my button gets disabled more wanted to display a message to inform the user that the field must be filled is possible to do this…
-
0
votes4
answers905
viewsChanging the background of a table
I need a help, I have a web page with two tables, a table has 5 divs with images inside it, already predefined images, when clicking on any of these images change the background of the other table.…
-
0
votes1
answer74
viewsProblem with angular selection
In the HTML I’m playing, I created a select where the selected option is pulled from a script in Angular. It uses the data.singleSelect to pull the dice and put the selected value as the selected…
-
0
votes0
answers26
viewsDuplicating PHP content
When I duplicate this code, it appears vertically aligned, I would like to align this code horizontally <?php for($k=0;$k<count($items);$k++) { $item = $items[$k]; $expire_key =…
-
0
votes1
answer65
viewsSend print data to another page
I need to send some information to another page for printing, I have already been able to validate the information, but I don’t know how to call the other page and print the data provided by the…
-
0
votes1
answer898
viewsCreate a Java WEB application that also runs via desktop
Good night to you all. I’m thinking of developing an application with the following features: Backend: Java Frontend(Option 1): Javafx Frontend(Option 2): HTML5 + CSS3 I want to start the right way,…
-
0
votes0
answers11
viewsI need to compare a long in JSTL!
I have a code I need to check if an attribute of the class "Postodesaude" which is a long is equal to "0", but I can’t make it work. <c:if test="${postoDeSaude.codigo eq 0}"> <button…
-
0
votes1
answer305
viewsRedirect URL to mobile version with . htaccess
I’m making the mobile version of a website and I need it to redirect any page to its mobile version: Ex: If the accessed page is: https://www.website.com.br/seguranca should redirect to…
-
0
votes0
answers43
viewsJcarousel does not activate the Next button
I have a Carousel that is created dynamically with data coming from the database. But when creating dynamically it seems that it does not activate Next. How can I fix this? Follow the codes: JQUERY:…
-
0
votes1
answer29
viewsFunction running as soon as the page loads
With the following codes As soon as I load the page in the browser is already displayed the result in the console Is this standard for Avascript or is there something wrong with my code? How to…
-
0
votes1
answer66
viewsHidden even Function ID generates error
As it was not clear I will remake the doubt. follows the code that is run as desired. <html> <head> <title>Teste</title> </head> <body> <form…
-
0
votes3
answers103
viewsHow to treat the value field?
I have in my html a form, in it I have a field described this way: <option value="sao-gabriel-da-palha">São Gabriel da Palha</option> In my database I have to put the value equal to…
-
0
votes1
answer186
viewsempty input value in forms with auto complete
I’m having a problem that’s keeping me awake, it’s a little bug, I think, that’s complicated both to debug and to explain. I have a login form on a page html of my system, and a code on jquery that…
-
0
votes0
answers46
viewsHow to automatically click with javascript
I would like you to help me in creating a javascript function so that, when loading a page, a button is automatically clicked every X seconds. I tried to do this function but did not succeed and…
-
0
votes1
answer1472
viewsFpdf PHP page
I’m having trouble making a pagination. It receives the data of the report in array format, then I have to do a foreach to scan the data, it happens that I am doing it within 2 for, and the data…
-
0
votes1
answer1700
viewsBootstrap Collapse does not work
I’m doing the portfolio challenge in freecodecamp. In the menu part I can’t get it to close on smaller screens. The menu closes but clicking on the icon it does not open and shows the items. Where I…
-
0
votes1
answer28
viewsHow do you get the result published in the right place?
I’m using the require on this page of mine, so the result is being printed after the footer, someone would tell me how to solve, follow the code: <?php require ("principal.php"); $servidor =…
-
0
votes1
answer8461
viewsHow to force table size in HTML?
I have a table with a background image and I would like to somehow set the size of this table so that the image appears completely. So far it needs to contain data in the table, but when it has…
-
0
votes3
answers161
viewsProblem in division and multiplication
I have an exercise to do the four basic operations, but multiplication/division is not going, and you have to test if the number q is dividing is not zero. However certain sum and subtraction.…
-
0
votes1
answer1733
viewsHow to create a Multi-level Dropdown menu using HTML?
Good morning, I’m trying to create a multi-level dropdown menu following the website template: https://bootsnipp.com/snippets/featured/multi-level-dropdown-menu-bs3. However, the elements inside the…
-
0
votes1
answer1744
viewsButton to delete record
I have a page that shows the records made in a form. When a register needs to be deleted, I need to access phpMyAdmin, preventing anyone other than me from deleting the record. What I wanted: I…
-
0
votes1
answer43
viewsSlide Problem - Firefox Browser
I have a CSS development problem of a Slide, only in the Firefox browser. For the site I am using a slide plugin Jquery Malsup Slide works perfectly on other browsers, less in Firefox Desktop mode..…
-
0
votes0
answers512
viewsAnalytics Code Appearing on Home Page
For some reason the code of Google Analytics is appearing on the home page of a client of mine and I am not able to remove it from there. And at the same time, obviously, I need it to keep working.…
-
0
votes3
answers608
viewsValue of an input of type number
I’m trying to do an ICMS calculation and I’m having an apparently silly problem that is to take the value of inputs from my HTML, I thought the problem was in function, but when I try to give a…
-
0
votes2
answers661
viewsHow to take the value of the A or B button
I want javascript to recognize which button I press, when I press button A to show div A , and when I press button B to show div B, the two Divs cannot appear together. The code I’m making right now…
-
0
votes1
answer192
viewsError trying to validate field with required="required"
I am trying to validate my fields with required="required", in various modals, it turns out that the page, has tabs, and when I try to use the required="required", nor does the modal…
-
0
votes1
answer1027
viewsHow to send email form data without using php?
Forms <legend>Login</legend> Login: <input type="text" name="login"> Senha: <input type="password" name="senha"> <p> </fieldset> <fieldset>…
-
0
votes1
answer85
viewsHTML/JS text field for date does not work in Firefox
I have the code below as an input for the date , works well on all browsers except in Firefox. It probably has something to do with the event.returnValue=false be ignored by browser, as I fix this?…
-
0
votes3
answers1667
viewsPrevent redirect after submitting the form
I’m a beginner in programming and I have a little problem here. I have already done a good research here in stackoverflow, both in Portuguese and in English, but I could not adapt or put a solution…
-
0
votes0
answers1422
viewsOffset bootstrap not working
I am doing the beginning of a work for the course and in the code the <h1>, <hr>, and the <marquee> do not want to jump columns with the .offset Follows code: <div…
-
0
votes1
answer5072
viewsHow to close a modal by clicking outside it?
I made a modal and I need it to be closed by clicking outside of it or the close button. I’ve tried to do with onblur only it doesn’t work, it’s only for tag input. How should I do? function abre()…
-
0
votes1
answer2633
viewsUncaught Error: Call to Undefined Function mysql_connect()
I made the creation of an html form accompanying a connection file and receiving data from this form (in php), however, when clicking on the input that calls the action receives, I get the following…
-
0
votes3
answers655
viewsLateral alignment of Divs
I have 2 Divs in my code, the first div is an image, the second div is a form, I want to put side by side the two, and when seen in the mobile it breaks, stay one div on top and the other on bottom,…
-
0
votes1
answer256
viewsHow to dynamically pass the input name to Jquery
I have the following function in jquery in my script PHP $('.myinput').on('blur', function(e) { $.ajax({ url: 'gravadado.php', method: 'POST', // ou POST data: { q10600: this.value }, success:…
-
0
votes1
answer39
viewsBlank page pull posts
I am wanting to create a page that pulls news from a specific category. The question is on Threme, I must put this code with the name page_nome_da_page.php to pull the config ? Or should I put it…
-
0
votes1
answer150
viewsReuse the function in javascript
Personal I am with the following doubt,wanted to manipulate a specific value in my function,where the assigned value is not fixed but dynamic(where I can change with form the need). function…
-
0
votes2
answers352
viewsInsert text in time line
I made a timeline using HTML and CSS and need to add a story each year when it is clicked on a given year of the line display the story it contains that year, how do I do this? .DB_Timeline {…
-
0
votes1
answer1634
viewsHow to view all images from a folder in html?
I wonder how I could do to list all images of a folder in my html. I want to make my page take all images from my folder and fill my gallery. for example, I have this grid: <!DOCTYPE html>…
-
0
votes1
answer2654
viewsHTML pages: fill in form and make this data appear on a second page both HTML, but how?
What I have to do seems simple, but I’m not getting it. I need to fill out a form and when clicking the save button it should show another page with this same data that I registered on the previous…
-
0
votes1
answer105
viewsChange appearance when passing through Section
In this code below, I can make the clicked item change the background-color, but I would like it to change without clicking, that is, when you are going through the <section> correspondent. I…
-
0
votes1
answer737
viewsDisplaying 'load' warning when iframe update - html
I’m having trouble with an app, where the screens take a while to redirect. To get around the problem, I created a page with just an iframe, which contains the navigation between pages. The bigger…
-
0
votes1
answer100
viewsNicedit not working in other textareas
I am creating a kind of forum on my client’s site. In this forum, to ask questions and comments, obviously use Textareas. However, I am using the Nicedit class to transform my textareas with option…