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
- 
		3 votes0 answers1140 viewsWhat is the difference between Local Storage, Session Storage and Cookie?What’s the difference between Local Storage, Session Storage and Cookie? What is the purpose of each of them and what differentiates them? 
- 
		3 votes3 answers308 viewsWhere does this notification "tooltip" come fromI was doing a development of an ASPX page with JQUERY, W3DATA and w3CSS, and when I made a Submit of my form, the following popup appeared: All form fields contain the "required" key, but I have not… htmlasked 8 years, 5 months ago Marcelo Carvalho 31
- 
		3 votes1 answer1795 viewsLockscreen lock screenIt is possible to create a lockscreen in JS+HTML+CSS with the same blocking functionality as in Windows? I think about doing this in the web system that I’m doing. 
- 
		3 votes2 answers450 viewsPut two icons in the same paragraphI have a paragraph in my view. In this paragraph, I have the indication of my mobile phone and I took the bootstrap symbol, so: <p><i class="fa fa-phone"></i> Phone (Brasil) : +55… 
- 
		3 votes2 answers1182 viewscall an . exe in Java or htmlI am migrating a desktop system to web , with we have already largely ready, I would like to climb it and call what is not ready of the application by the browser , I would like a help, in the… 
- 
		3 votes3 answers156 viewsHow can I capture the names of an html form and put in a variable in JavascriptI know how to do with Php but to catch a little bit with javascript, I wanted to use the fields "name" and "email" to put what the user type inside a variable name and another email inside… 
- 
		3 votes2 answers3037 viewsCSS Input Zip codeGood morning, I would like to make my input text accept only four numbers and dps of that put "-" and accept only three numbers. This is possible only with HTML and CSS? 
- 
		3 votes2 answers1263 viewsHow to customize the side edges of a DIV?I have a <div> whose edge has a different customization than the pattern. It is not totally solid, it has "open spaces" at the top and bottom. Example drawn: The central content varies, so the… 
- 
		3 votes2 answers4351 viewsDoubt how to format value using Chart JS chartGuys I’m using a plugin for Jquery called Chart JS. Good and very simple to work with the plugin, the problem is that I report values in the American standard (33.33) and I need the graph to display… 
- 
		3 votes1 answer201 viewsInclude takes wrong url pathI have the following structure: I would like the file, inside views/usuarios/usuarios-view.php, include the file _layout.html who stands in the way: views/_template/_layout.html, I’m doing so in the… 
- 
		3 votes1 answer286 viewsHow to make border CSS inherit color?Guys set up a simple container using CSS. For me to do the DIV that gets the text stick with blue background I ground a class I created to put background where I call it. But I need to put the blue… 
- 
		3 votes1 answer412 viewsBetter HTML structure - Virtual StoreTalk, you guys, blz ? My question is the following: what is the best HTML structure to build a virtual store ? Taking into account semantic and SEO patterns. For example: I must use divs, li or… 
- 
		3 votes3 answers7189 views"import" header and footer on all pagesI am making some html/css/javascript pages and all will have the same header and footer, I would like to know how to make the import without repeating all the code. Java server. But you can do it in… 
- 
		3 votes2 answers103 viewsDoubt with Script - Show image according to SelectionI am trying to make a select that changes the image according to the selected one, but I have two types of select with their respective images that should appear according to the selection. The… 
- 
		3 votes2 answers154 viewsHow does the server know that the index is the main page?For example, I have several . HTML and . PHP files in the public_html folder on my server (Internal), but when opening the path in the browser (open the path… 
- 
		3 votes2 answers529 viewsHow can I automatically send my input information via javascript?How can I send information from mine <input /> automatically? Wanted this automatic process to be controlled by the field size of the input. For example, when the value reached 8 characters,… 
- 
		3 votes4 answers18367 viewsApplying opacity in a BackgroundI’m trying to apply opacity to my background image. I’ve tried using rgba, and the pseudo-class after. Is there any other way to apply this filter only to the image without affecting the content?… 
- 
		3 votes2 answers423 viewshow to align center with cssGuys I got two button that are aligned in the center using display: block;. The problem is that one sits on top of the other, to stand next to the other I used display: tale-cell; and the problem is… 
- 
		3 votes1 answer208 viewsCSS selector changing value if it contains an elementBy choosing any selector definition it is possible to set styles for each element that this is defined. My doubt would be, instead of selecting an element and changing properties for itself, I would… 
- 
		3 votes2 answers2478 viewsCheck if button is disabled - JavascriptI have this button, and I need to check with Javascript that it’s disabled, but I don’t know how to do it. Here’s HTML: <button type="button" title="Finalizar Compra" class="btn… 
- 
		3 votes1 answer595 viewsWhat is the hreflang attribute for?I am interested in SEO techniques and among my researches I found the attribute hreflang. Some examples: <!-- Dentro do HEAD --> <link rel="alternate" hreflang="pt-br" href="...">… 
- 
		3 votes1 answer31180 viewsButton (Button) inside an A (Link)? Is this a bad practice?I was using a library of Scaffold for automatic HTML code generation. It was specifically for generating forms in Boostrap 3. Then I noticed that the links of actions that are being generated are… htmlasked 9 years, 5 months ago Wallace Maxters 102,340
- 
		3 votes1 answer928 viewsWhen clicking on a select item, show inputI want when I click the select "OTHER" to appear next to an input, but so far unsuccessful. My code HTML and JS: function mostraCampo( el ) { var outros = document.getElementById('outros'); if… 
- 
		3 votes3 answers3645 views
- 
		3 votes3 answers47 viewsProblems with the positioning of an elementI want to leave the date fixed in the right-hand corner, considering that the div is being created by a while and that the position of the date does not depend on the extent of the description.… 
- 
		3 votes2 answers225 viewsMake a hidden formI am developing a basic CRUD, and I need that when the user click EDIT, open a form below, or side, no matter, with the fields for him to edit such information, and when click 'OK', the field… 
- 
		3 votes2 answers44 viewsAllow only delete keyI have the script below, which blocks all typing in an input, forcing the user to use the DatePicker available: $(".readonly").keydown(function(e){ e.preventDefault(); }); In this same script, there… 
- 
		3 votes2 answers104 viewsText on imageHi, I’m new to this and I need to know how to make a text about the img appear when passing a mouse over it p a school project, someone can help me? 
- 
		3 votes2 answers3686 viewsDownload file via AjaxIn my Asp.Net MVC 4 project, I have a View with a button and the following script: <input type="button" value="Teste" id="baixarArquivo" /> <script> (function () {… 
- 
		3 votes1 answer225 viewsDelegation of events to dynamically generated elementsI will try to be more specific. I have a list <ul>which is populated via jQuery: var $imovel = $("#lista-resultados-pesquisa"); $.ajax({ type: 'GET', url: 'imovel.json', success:… 
- 
		3 votes1 answer111 viewsPHP Doubts how to optimize SessionToday I use the following code to start a PHP Session //verificação se o id de sessão ja existe, se não existir, cria if (!session_id()){ // iniciando a sessão session_start(); // buffer para evitar… 
- 
		3 votes3 answers1560 viewsInsertion of the letter "e" in type numberI would like to know how not to allow the letter to be inserted "and", which probably represents the number of Euler, in the input type="number.… htmlasked 8 years, 2 months ago lucasbento 856
- 
		3 votes2 answers956 viewsPush a button through the keyboardHello, within the system I am developing the user can change a registration that is in the database. I wonder how I can do so that instead of the user can save the changes just by clicking on the… 
- 
		3 votes1 answer3294 views
- 
		3 votes2 answers933 viewsSum/multiplication of dynamic and total inputs in R$Good Afternoon, I need a great help, I’m caught in a problem that apparently should be very easy! but I’m not managing to evolve. I have a code with the following fields: In my script consists of 5… 
- 
		3 votes5 answers40467 viewsHow to redirect php pagesI have a login system in a program PHP that I want it to forward users to different pages depending on their profile. There is a login table that has a field called "perfil" who is either 0 or the… 
- 
		3 votes1 answer139 viewsProblem with mask in formI’m using the plugin Masked Input Digitalbrush to format my phone field in the form, I tried this way and it didn’t work, someone can help me? <head> <script… 
- 
		3 votes2 answers2189 viewsHow to know the user’s operating system version using Javascript?I wonder if there is how to do so when the person enters my HTML page, already identify which operating system it has, and then enable certain buttons. For example if it has Windows 7, the program… 
- 
		3 votes1 answer509 viewsHow to highlight a menu item when clicking Back or NextThis is possible, I know I am on the way, but before I decided to see with the community what can be done in this case, and then take the right course. Code function Selecionado(tag){ var item =… 
- 
		3 votes1 answer222 viewsAlign div vertically in Internet Explorer 11I’m studying css and challenged myself to create a reproduction of an image that follows below: I was able to do something similar, but I could not work the same way in Internet Explorer, I saw some… 
- 
		3 votes2 answers1129 viewsCentralize objects within the divWhat is the best way to centralize objects within a div horizontally and vertically, being a responsive div with no fixed size, with width and Eight in %. Div is inside a bootstrap Row div… 
- 
		3 votes3 answers33037 viewsHow to use the Icon tag in HTML?I want to use a 'flexinha' next to the text of the button. I tried to use the symbols of the keyboard itself, but the site I want to insert does not accept. I can use the icon tag, as it is used to… 
- 
		3 votes1 answer705 viewsRefresh page when user is missing and there are no videos on pageI need to refresh my website page when the user is inactive for 15 minutes and there are no embedded videos in it. if the user is inactive on a page of the site for 15 minutes the page should be… 
- 
		3 votes0 answers137 viewsUpload excel (.xlsx) with jspI am developing an application to submit Excel files to an application. However if I try to submit a file .txt,works properly if I send a file .xlsx the file copied to the server directory appears… 
- 
		3 votes1 answer222 viewsHow to handle multiple inputs with the same name in Java?How do I manipulate in the back-end using multiple Java input's with the same name? For example: <input type='text' name='telefone' ><br> <input type='text' name='telefone'… 
- 
		3 votes1 answer28 viewsAlert text only for a specific elementI have this code : <div id="div"> This is some text.<br/> <button>Button</button> </div> <script> alert(document.getElementById("div").innerText); </script>… 
- 
		3 votes2 answers828 viewsCreation of diagonal divWell, I’m having doubts about creating a div, with two elements, separated by a diagonal line, according to the image below, how can I create ? The text should remain straight The Skew property, as… 
- 
		3 votes1 answer664 viewstooltip cut by divGood morning guys. I’m trying to create a css-only tooltip on a right-side panel of the page. In this panel appears a list of users and each tooltip presents a brief profile, quite similar to the… 
- 
		3 votes0 answers153 viewsCalculate routes, distance and time in OpenstreetmapI need an API that calculates routes between Source/Destination and provides distance and time route to a matrix of origins and destinations using the Openstreetmap. That works like the API… 
- 
		3 votes2 answers642 viewsAdd CSS attribute when input is selected via JqueryI’m Making an answer validation application for a particular question, I need that when the <input type="checkbox"> is selected if an attribute is addedbox-shadow to <textarea> of reply.…