Most voted "html5" questions
HTML5 (Hypertext Markup Language, version 5) is a generic term for recent web technologies (HTML, CSS, and Javascript). It is also the latest iteration of the HTML Recommendation scheduled for 2014, and featuring new elements and Apis.
Learn more…3,881 questions
Sort by count of
-
2
votes0
answers86
viewsWhat is flow element in HTML?
What is flow element in HTML? I tried to search in google, but only found a very technical explanation and did not understand very well.
-
2
votes1
answer288
viewsID with the first character being a number does not work when I put in css #[example number]
When for example I put in HTML:<div id="1">texto de teste</div> and I’ll put it in CSS: #1 {código de teste}, does not recognize the id=1. Even if I put "class" in place of "id", or if I…
-
2
votes1
answer71
viewsI can’t get lines from the table
I created a whole styling for the table I did everything in the first row of the table was ok, but when I went to duplicate this line I noticed that only in the first was styling, I’m starting in…
-
2
votes2
answers367
viewsFieldset element should be used only in form?
The element <fieldset> may only be used in forms for your organization and grouping of content or may be used anywhere in the code?
-
2
votes1
answer294
viewsSelect for card expiration
I wanted to make two fields select one for the month and one for the year to use as expiration dates of a card, but wanted it to be generated dynamically and that when selecting the year 2017 for…
-
2
votes2
answers53
viewsValidating Valor
I needed to validate a value before it was sent, as I do for it to be validated before sending, because it is already sending the value directly without validating the sum of the input. <script…
-
2
votes2
answers115
viewsWhat are HTML meta tags for?
I would like to know the usefulness of meta tags of HTML. And if there is any book that could recommend me about them, because I wanted to understand more about this subject. It can be in English or…
-
2
votes1
answer594
viewsHTML and CSS - Center Tabs in the center of the page
It’s a Newbie question, but I’m having a hard time. I have 3 tabs that are like this: But I’d like you to stay in the center like this: Also instead of text, I would like to place images. My CSS for…
-
2
votes0
answers26
viewsHow to validate an input type number to accept only numbers?
I am wanting to configure the input number of Html5 to accept only numbers, but it is accepting the letter "and" and also ",." I’m doing it this way: <label for="txtHora">Hora…
-
2
votes2
answers461
viewsTake function result and insert into an Input type text (html)
Hello, I have a slight problem with my HTML and JS code. I need to insert the result of a function(JS) into an input(Html). But I’m not getting it... I tried that way: HTML: <p>Preço USD$:…
-
2
votes1
answer74
viewsIn which cases is the <ins> tag used?
One of the HTML formatting tags is the tag <ins>, but all I found out about it is that it serves to mark an inserted text. I want to know more details of that text "inserted" is this, and in…
-
2
votes2
answers539
viewsHTML5 Drag and Drop
I am using the example provided on the website of w3schools, to generate a Drag/Drop with two columns (DIV). The objects that will be moved between these DIV’s are identified by Ids 1 to 5. So far…
-
2
votes2
answers261
viewsbold the first word of the HTML paragraph
I wanted to know how to put the first word of a paragraph in bold. I am using the file reset.css. I have tried to use <b> </b> and also <Strong> </Strong> but nothing…
-
2
votes1
answer211
viewsDuplicating menu bootstrap
I am Noob in web development and need a little help from colleagues, if possible. I’m making a website, using bootstrap, and I came across a little problem. I have two drop-down menus and when I…
-
2
votes1
answer208
viewsHTML5 Semantic Structuring, How to Use?
Context I was making a template prototype for a website, and I came across a question regarding the tag <aside>. Below is an example to explain the semantic division. Explaining the tags Tag…
-
2
votes1
answer1831
viewsChecking whether an item is visible or not on the page
I have the following buttons: First button: <button id="modal-btn" class="button btn-cart btn-verde-claro"> <span>Comprar</span> </button> Second button: <div…
-
2
votes1
answer75
viewsWhat is the most effective way to develop an Html5 or js code?
For example when I want to do an event at the click of the button I can do it in two ways: using the onclick attribute of Html5 <button type='button' onclick='myFunction()'…
-
2
votes2
answers558
viewsDiv captures the size of another
Good morning dear(as), I have an html and from time to time I need to insert an image that is a "}" to determine that in a song will repeat that excerpt. As my text adapts to the size of the screen,…
-
2
votes1
answer1551
viewsStart an action with voice command equal to: "ok Google"
I’m trying to create a system, for my site, that starts actions with voice command, but without having to click anything, the only thing the user will have to do and there is no way to enable the…
-
2
votes4
answers16718
viewsHow to put a space between two buttons?
I have this code: <!DOCTYPE HTML> <HTML> <head> </head> <header> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </header> <body>…
-
2
votes1
answer122
viewsHTML5/CSS3 slides - Background does not change
Guys need help with CSS3. I’m using keyframes/Animation to change the image of several article classes, where I’m using CSS to change the background in the following percentages 0, 30, 35, 65, 70,…
-
2
votes1
answer3724
viewsHow to link files in different folders?
I’m having difficulty making a link between two HTML pages, the hierarchy of the folder is this: I want to link the file: J: Totem_app XPLACES acess cid_vitoria 1_acru.html that has a button in your…
-
2
votes3
answers1214
viewsInput date ta in English
I made an input date of the bootstrap and it ta in English, there is some way it stay in en? HTML <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"> <link…
-
2
votes1
answer49
viewsadd more than one name to the form
I have the following problem, I have a image map, where by clicking on the coordinates the result appears inside a <input type="text" />, but I can only name one of the clicked coordinates. I…
-
2
votes2
answers77
viewsOpacity only in li and not in span
I have the following code HTML: <li class="item produtoDesabilitado" id="1028" style="border: 2px solid rgb(255, 255, 255) !important; height: 346px; padding-bottom: 22px;"> <div…
-
2
votes1
answer131
viewsFooter does not follow site layout and is not responsive
Everybody, good afternoon, everybody. I’m having difficulty making the footer responsive, it does not follow the page. Can you help through this code I made? (I tried to implement some tips I found…
-
2
votes1
answer2144
viewsButton to force Download without showing your way
Hello, I have a main html site meusite.com that can be found by the search engines' robots and made meusite.com/download.html with these parameters<meta name="robots" content="noindex, nofollow,…
-
2
votes1
answer132
viewsHow to stop the translator google dropdown from disappearing?
I’m trying to implement the translator google dropdown, within a button. Now by clicking on the translator google dropdown, it does not show the countries/languages. Here’s the code I’m currently…
-
2
votes3
answers320
viewsRadio alignment with image
I’m trying to center a radio item - a selection "ball" with an image. But I’ve tried several resources using CSS and I’m not getting it. You know what feature I can use to achieve this alignment?…
-
2
votes1
answer385
viewsHow to handle a span element using pure JS
My question in this exercise is how to keep my point total fixed, because whenever the function is executed the value changes and automatically it returns to 100.So how should I manipulate this span…
-
2
votes1
answer33
viewsDecentralized Sub Menu - according to browser, I don’t know where I’m going wrong
/*Sub-Menu*/ .menu.superior .nivel-dois, .menu.superior .nivel-dois, .menu.superior .nivel-um li:hover .nivel-dois{ display: contents; position:absolute; } .pagina-login .menu.superior,…
-
2
votes4
answers3601
viewsCheck if input file is with file or not
I need to do a validation in the field file, in case it has no attachment show me a message on the screen forcing to attach, I tried some alternatives and could not. <div class="form-group"…
-
2
votes1
answer532
viewsProblem with background-image accessing from google browser Chrome on mobile
I’m having problem with my background image on my page but only accessing from mobile by Chrome or mobile default browser, Mozilla Firefox phone works perfectly. body{ background-image:…
-
2
votes1
answer200
viewsphoto with distorted webcam using Html5 + javascript
Using the code below, I can capture an image of the camera through the browser, but taking into account that I intend a Portrait format of 4x3 (354x472px). The way the measurements are indicated,…
-
2
votes3
answers693
viewsHide and reveal text using Javascript
I have a div that has news, I need to hide a part of the text when the file is read by the browser, in addition the user can see the full text if he wants to click on "See More" which is a tag…
-
2
votes2
answers788
viewsKnow when you hear changes in DIV with Javascript
Hello, good morning. I need to compare a change in DIV1’s daughters to make a notification. This way I did may not be the best, I’m still learning. <div class="div1"> <div class="filha">…
-
2
votes3
answers478
viewsHow to center a text in the middle of the page?
I’m using bootstrap 3. I want to center a text as the example below. @import url('https://fonts.googleapis.com/css?family=Anton|Black+Han+Sans|Open+Sans+Condensed:300'); /* font-family: 'Black Han…
-
2
votes2
answers2191
viewsIs it possible to save <form> forms in localStorage with pure Javascript?
I’m a beginner in Javascript and I’m making a prototype application for a college job, and I didn’t want to use a database or anything, because it’s not worth it, I just need to test the functioning…
-
2
votes1
answer123
views -
2
votes2
answers143
viewsConcatenate the field and group the rest
I have the following query: SELECT finempe.data_empenho , finempe.num_empenho , finhisem.quantidade , finhisem.historico , finhisem.valor , finhisem.valor_total FROM finempe RIGHT JOIN finhisem ON…
-
2
votes1
answer3130
viewsPlace background image in HTML canvas
I’m trying to learn a little more about canvas for Html5 games. var canvas;//o elemento canvas sobre o qual desenharemos var ctx;//o "contexto" da canvas que será utilizado (2D ou 3D) var dx = 5;//a…
-
2
votes3
answers68
viewsDoubt of HTML5
Hello, I’m new to programming and was trying to create a program. The application I use to run HTML5 reported an error on line 25 and 28. On line 25 I put onclick in a form of Submit and in between…
-
2
votes1
answer3842
viewsOpengraph’s metatag og:image does not take the link-specific image
I have the following snippet of code, but facebook is randomly picking up another image that is not part of the specific link to this, the og:image as below. <meta property="og:type"…
-
2
votes1
answer347
viewsChange the HTML attribute in the option with JQUERY
I’m trying to change the value of the select with the option to "disabled" but only when the user clicks the input field. See the image to understand better: I want to exactly leave disabled the…
-
2
votes2
answers2550
viewsProblem implementing icone from font awesome by css
I have a problem loading my font via css I’m using the font awesome 5 I’m implementing the icons via content in the css but the icon I want to use is not working this would be the link of the icon I…
-
2
votes1
answer810
viewsTake data-attr value and insert into another element
I have a dynamic listing with PHP, and when you click on a "< tr> " of the table that is listed, you should open a modal with various information. What I intend to do, is to assign certain…
-
2
votes2
answers801
viewsHow to get X and Y click on Canvas
I would like to get X and Y one click on my canvas. var canvas;//o elemento canvas sobre o qual desenharemos var ctx;//o "contexto" da canvas que será utilizado (2D ou 3D) var dx = 5;//a tava de…
-
2
votes2
answers3109
viewsCenter text in header
Hello, everyone. I created a header with 100% screen size (independent of screen size) like this: header { background-image: url('img/background.jpg'); height: 100vh; width: 100%; } <header>…
-
2
votes1
answer122
viewsObfuscate part of the background-image, and make other parts clear
I’m trying to reproduce this "example" of Dribble, however I’m not getting it. My current progress is this (using SCSS), however as can be verified I duplicated the background to achieve this…
-
2
votes3
answers6287
viewsjavascript countdown
When he gets to the "end" and I want him to change color, he can tell me how to do it ? <!DOCTYPE html> <html> <head> <title>javascript</title> <meta…