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
answer42
viewsChange select field as registry without modifying list
Ola, I am making a form for creating/changing an order and have a list of items via <select> where you take the data via PHP/Mysql. When I fill in an existing order number I can make the value…
-
-1
votes1
answer65
views -
-1
votes1
answer142
viewsLoad Code in JS
I wish the following loading indicator : <li Carregando...</li> appears on screen instead of a list of elements while the request is being performed. This is my code : <!DOCTYPE html>…
-
-1
votes1
answer141
viewsHow to hide my label after input selection?
Hello, I created a text input, and would like to hide it after the user selects it for the fill. I lined up a label inside the input simulating a placeholder.(I chose this option to make it easier…
-
-1
votes1
answer50
viewsHow to place two divergent standard notices concerning mandatory completion in the Popover of a bootstrap search field that has two Buttons?
In other words, each button should trigger a different message. I have this field that has two buttons and I need each of them to present a different warning message in case of not filling. But the…
-
-1
votes2
answers164
viewsHow do I add 3 side-by-side images and captions on top and bottom in css
.produto{ display: table; text-align: center; border-top: none; padding-top: 0; float: inline-start; } .prod1{ display: table-caption; color: rgb(46, 146, 228); float: left; caption-side: top;…
-
-1
votes1
answer62
viewsReplace "Apostrophe" key when typed in mobile input
I am having a problem that I am not knowing the resolution when the system in question is accessed on mobile devices only. I have a TEXTAREA field so that users can write their data and consequently…
-
-1
votes1
answer636
viewsJS - Cannot read Property 'value' of null
Good night! I’m studying JS and I came across a problem apparently common but I’m not able to solve. I have the JS, where I create a variable for the user and password, and put in the end the…
-
-1
votes1
answer46
viewsHow to delete the null string from the td tag?
How to remove "null" from tag ? I tried to use replace, but error occurs due to variable being null: Example: _st_versao_ofertada.replace("null",""); //Ná pode, ocorre erro. Como fazer ? <br>…
-
-1
votes1
answer77
viewssimple css - background color occupy 100% item horizontally from list
Hi, I’m trying to make the color of background-color of item li:hover occupy 100% of the width of the screen when opened by a screen smaller than 480px, I tried to leave the width of the padding at…
-
-1
votes1
answer29
viewsHow to adapt layout according to browser resizing?
I built a function to read the size of the window through which the user is accessing the site, compare with a standard break-point that I chose and then adapt the layout. I put an example of change…
-
-1
votes1
answer274
viewsDifficulties with flex-box, align the menu icon on the right
I had to use flexbox to leave the class logo and class menu vertically aligned in the center of the tag nav because font-awesome icons were not working with line-height, however this is causing me…
-
-1
votes1
answer53
viewsHow to padde an <li> item vertically hide 100% of the container?
I was able to calculate the exact size of the bar and put the value in the padding, but this causes me problems later, how do I make it look like in the image below? <html lang="pt-br">…
-
-1
votes1
answer28
viewsHow to refresh page and leave static selection?
I have a select with some options to create a filter, what happens is that when I update the select page goes back to the first option. I wish that when I update the page remains with the option I…
-
-1
votes2
answers187
viewsmake a Ubmit button of this type
I’m trying to play sites to study some html and css, I have the following code: * { margin: 0; padding: 0; } #back { background-image: url("back2.png"); background-size: cover; } body, html { width:…
-
-1
votes1
answer383
viewsHow to send data via form to php file and return the result in an html field
I wanted to send the data via form, which would be used in my php class, and with javascript capture this result and play in my html field, with on click of js. But I’m not succeeding with "action"…
-
-1
votes1
answer47
viewsMy code is having infinite loop, which is wrong
My code is presenting an infinite loop, which may be wrong Code in javascript // Mensagens var fromm = null, startt = 0;urll = "chat/novo.php"; $(document).ready(function(){ //from = prompt("Daniel…
-
-1
votes1
answer48
viewsSend html form with ajax to process form data with php and return to index.html
I have a form in html that receives a zip code, and is sent (action) to my class in PHP, which returns the address and I wanted to take this return address and put in my html page, but I don’t know…
-
-1
votes1
answer336
viewsModify only one React Hooks component
Hello, I’m running a simple application on Reactjs. I created some check buttons, which when clicked changes color, but I press these buttons on a map and when I click to change the color of one,…
-
-1
votes1
answer44
viewsRemoving a class from a div by clicking on the select option
Come on, I want to do the following, when I select an option from select it load the text of the selected option and show in a textarea, until then it’s ok, it’s working, but I also wanted when…
-
-1
votes1
answer32
viewsWhen climbing the site javascript did not run
I have a problem: when climbing the site, my javascript did not run. Follow the source code. This code is inside the body <script type="text/javascript" src=".//js/code.jquery"></script>…
-
-1
votes1
answer40
viewsCSS - How to center element vertically?
I’m doing a simple login page, I’m trying to center the form vertically and horizontally, to center horizontally I use margin: 0 auto, vertically I’m trying this way withdrawn of this answer:…
-
-1
votes1
answer862
viewsOpen modal via a HREF with parameters
Hello, I’m trying to do an editing part on my page, and I thought to use a modal to open the editing window, I did a search, but I did not find exactly... My modal won’t open. I’m trying this way:…
-
-1
votes1
answer36
viewsTwo vertical menus on both sides of the browser
See the image: The content (a three.js script) would occupy 100% of the viewport(padding:0;border:0;margin:0), while the menus would occupy 10% width per 100% height. In the case of menu 1, I can…
-
-1
votes1
answer49
viewsNav Bar in Bootstrap does not open in 768px responsive
Hello, when I click on the button (which only appears in the resposivity from 768px) the submenu does not open and generates the error below. <!doctype html> <!-- Bootstrap CSS -->…
-
-1
votes1
answer49
viewsData is not being entered into the database
I am developing a form to send some information to a bank. I tested the connection to the bank by php and is connecting right. However the data are not being entered in the table, I am checking a…
-
-1
votes1
answer27
viewsphp search pass to html
Good morning, everyone. I really need the help of vcs. I have a problem for days on an html page where I take 3 data to search the database. So far so good. I connect in the database, and I have the…
-
-1
votes2
answers91
viewsFooter does not resize
Good evening. My problem is the following, when screen is very small and is shown the scroll bar the footer does not extend more to 100%. HTML <!DOCTYPE html> <html lang="pt-br">…
-
-1
votes2
answers81
viewsAlign data tbody with theady
I have data consumed by an API to popular a table in html, they are coming OK, but I’m not able to make the alignment between theady and tbody that populate at runtime, you could help me? She’s…
-
-1
votes1
answer44
viewsLocal server Node.js does not find html file
I’m a beginner in the forum (in Node.js and html as well) so any errors warn. I wanted to make a local server with Node.js (server.js), code below: This code should show the contents of the…
-
-1
votes1
answer117
viewsAssigning Style CSS to brother component (active)
How to make calling the action . Burger:active change the style of the menu component on the same hierarchical level Components/Nav/index.js import React from "react"; import { NavContainer } from…
-
-1
votes1
answer75
viewsHow to apply line break after an image?
I own a img and a Button, both are within one Grid library React-ui material. My goal is to center horizontal and vertical both the image and the button in the available space xs={4}, however, I…
-
-1
votes3
answers169
viewsSend data to external URL via form, uploaded to the same page
Hello! I am a beginner in PHP and am putting together a form to receive data through POST, and print them into a custom URL. The purpose of the form is to register leads on a third CRM platform,…
-
-1
votes1
answer66
viewsInclude icons on modal buttons
Good afternoon, I am creating a modal that is already with all the perfect functionalities, but I need to include in the buttons the accept and cancel icons to leave more didactic for the user, but…
-
-1
votes1
answer126
viewsProblem styling <select> through CSS
Hello! I’ve put together a form for lead capture, and I’m having trouble styling the field within it. I’ve done a lot of research and tried everything, but I can’t figure out why it’s not working.…
-
-1
votes1
answer47
viewsHow do I color an icon with degrade, I want to color only the image and not its background, thanks
<!-- language: lang-html --> <div class="social-icons"> <a href="#" class="btn-face"> <i class="fa fa-facebook fa-lg"></i> …
-
-1
votes1
answer33
viewsBlocked forms for editing
Good afternoon ! Friends, I created layout to insert materials in the stock, one item per line. If the person wants additional items, click on the button and a new div is inserted into Html. Follow…
-
-1
votes1
answer53
viewsForm error message even when sending is confirmed
Good night! I developed a form, with help from other users here, to send new records to a client’s CRM system. When we send, the data reaches the CRM, but the browser accuses the error message. I’ve…
-
-1
votes1
answer107
viewsSend two parameters at once via ajax
I am sending an information with ajax, but I would like to send two at once. It would be possible to adapt the code below for this ? <select name="sex" class="" required> <option…
-
-1
votes1
answer108
viewsUpdate the page automatically when you receive some information - HTML, JS, PHP
A friend and I are developing an online browser game, but we’re having trouble making real-time updates when a player does an action. I tried to use AJAX to update the page every 1 second, but it…
-
-1
votes1
answer627
viewsResponsive menu with CSS, HTML and JS
I’m making a responsive menu using visual studio. However, when I am leaving the page at 768px, the items (start, mission, about...) that should be when I click on the menu hambuguer, does not…
-
-1
votes1
answer37
viewsDrag and drop problem on JS
I use the following code to move Ivs (I don’t know if this is called drag and drop) function Drag(Janela){ var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; Janela = document.getElementById(Janela);…
-
-1
votes1
answer175
viewsRun code Node by pressing a button in html
Good morning gentlemen, I am beginner in Node and Javascript in general, I am using express.js and I want to press the button "SEND" it runs a code (that serves to send an email): The code Node I…
-
-1
votes1
answer80
viewsActivate download button on js
I have a form that requires you to fill in the name and email to download a file. But I don’t understand enough js to disable the download button until the other fields are valid, IE, the button…
-
-1
votes1
answer30
views -
-1
votes1
answer23
viewsModify innerhtml by
I’m trying to create HTML tags that will each receive a different value from an array. For this I used innerhtml to create the content, but they are superimposed only on the first div. var y…
-
-1
votes1
answer108
viewsHow to use for in Javascript to view photo gallery
So, I’m still pretty weak on javascript.. I’m looking to learn more. It is a very simple code, are two "div", div thumbnail and maximized div, my CSS code displays in a floating banner the maximized…
-
-1
votes1
answer252
viewsList data files using PHP-mysql
Hello. I am a beginner in programming and I am developing a project. I have already performed the code to upload the file, now I would like to list these files in a table and it shows a column with…
-
-1
votes2
answers70
viewsHow to "fit" hexagonal elements with CSS?
My idea is to create a gallery where each item will have a hexagonal shape aligned in a way that looks like a beehive. Look at this one so far: .galeria { position: relative; width: 100%; height:…
-
-1
votes1
answer68
viewsSelect Numbers in an HTML table by table data
I have a table with several "td"(table data) and would like to adapt a Javascript code that selects these values from within the "td" and make comparisons so that, for example, when the value inside…