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
-
13
votes4
answers7944
viewsHow to take print (screenshot) from a web page?
I would like to know how to print a page, and save in image. Follow example for understanding:…
-
13
votes1
answer10939
viewsWhat is parse, and how the parse of DOM works in HTML5
I started to study more CSS3 in depth, and I ended up wanting to better understand how the HTML rendering works in the Document Object Model (DOM), and how this HTML and CSS (and JS) markup is made…
-
13
votes2
answers2794
viewsWhat is the difference between setInterval/setTimeout and Web Workers?
I was taking a look at some HTML5 features and came across this Webworkers whose definition is: When executing scripts in an HTML page, the page Becomes unresponsive until the script is finished. A…
-
13
votes3
answers890
viewsIs it wrong to use more than one <thead>, <tbody> or <tfoot> in a table?
I have a table that gets a certain formatting when the elements have a tbody. Because of this formatting, I thought to use the tbody twice on the same table, but I wondered if this would be valid.…
-
13
votes2
answers457
viewsUse "left: -9999px" instead of "display: None"? But why?
I started to wonder about that a little while ago. I read in some article, which I don’t remember what it is, that for "visibility" sake instead of using display: none or visibility: hidden should…
-
12
votes1
answer6004
viewsHTML5 print screen automatically
Is it possible or is there a Html5/javascript/jquery library that allows me to take a print of the window or a div and save automatically without the user’s permission? I’ve tried to window.print()…
-
12
votes2
answers1942
viewsHow to insert EMOJI - SMARTFONES into Mysql database with PHP?
Well, since the question is very self-explanatory I will only reinforce the question. I have an APP chat system, which through the HTML, command to PHP with Ajax, but if the usurer tries to insert…
-
12
votes4
answers4310
viewsEnter key do not give Submit
How to make the enter key fail Submit on a form? Example: in an input by pressing the enter nothing happens. Today I press the enter, the browser gives a Submit, as and had clicked on send button.…
-
12
votes2
answers11304
viewsWhat are the differences between the values "en" and "en-BR" of the lang attribute?
I was unable to notice any difference between both values in the tests. Does anyone know? To help: the first two characters of the value define the Language Code Reference (ISO 639-1) and the last…
-
12
votes3
answers556
viewsAn image with display:None is loaded? Consume data?
I’m developing a layout responsive and would like to decrease the size of the images according to the resolution. I used the display: none but saw in the inspetor de elementos that it is being…
-
12
votes2
answers617
viewsHow to customize the default <Details> arrow?
I’m using the HTML5 tag <details> so that the user, when clicking, visualizes some information of a given word. For example: <details> <summary>JavaScript (Clique…
-
11
votes1
answer789
viewsDownload text from a textarea as a server-side language-free file
I need the user to click a button to download the text that is within of textarea as a JSON file, for example: User click on button lower -> Start downloading the file textarea.json An example…
-
11
votes3
answers2648
viewsAutomatic calculation in text box
Good morning. Is there any way when the user type this in a text box: A script runs the account automatically and results, in this case=1 ? It is also important that it does this with all operations…
-
11
votes2
answers992
viewsVoice link between two points
I would like to study about, read how it is done and all possible details about making voice calls between two points A and B Similar works these links between users like Viber, Whatsapp, facebook…
-
11
votes1
answer2038
viewsPlace text side by side
I don’t know if it’s possible, but I wonder if I can put a text divided into two columns?
-
11
votes2
answers811
viewsHTML5 form validation
I am making a validation form using HTML5 and its own tags to validate the fields. I am using the PATTERN, that limits the character type. But it doesn’t work... Fields are not being locked. "Code",…
-
11
votes1
answer1271
viewsWebgl, Canvas and 3D Graphics
To Webgl (Web Graphics Library) is a Javascript API, available from the new HTML5 canvas element, which supports 2D graphics rendering and 3D graphics. Is there a difference between Webgl and Canvas…
-
11
votes3
answers2753
viewsSolution to scan documents by browser
I want users to digitalizem documentos straight from browser and then up to server. I found APIS who do this but all get paid and the licenses dearest ! Can someone present a solution ? Even if the…
-
11
votes3
answers432
viewsCSS operators with @
As I had asked about the operator @media, I was curious, because I saw other operators that started with @and I would like to understand what they serve operators like this, and which ones exist.…
-
11
votes1
answer372
viewsWhy is an internal alignment of a <button> button different from a <a> link, even using the same class?
Well, I created a class called .btn, where I wanted to use it so much to button as for a. So I pushed a few things in this class, to reset the original style, both of the button as in the a. For…
-
11
votes3
answers7823
viewsWhat is the semantic difference between Section and article?
Searching, I found some questions related to HTML5 tags: What is the difference between <div> and <Section>? How to use such semantic tags? HTML5: difference of Section and article MDN…
-
11
votes3
answers572
viewsIs it possible to animate text-Decoration with CSS?
I recently saw this animation made with SVG, But I was wondering, is it possible to animate the text-decoration-style: wavy in the :hover in order to achieve the same result? body { font-family:…
-
11
votes2
answers3362
viewsCSS: hexadecimal color opacity?
I accidentally put a hexadecimal color with two extra digits and noticed that in Google Chrome it affects the color opacity as well as function rgba(). Sort of like this: body { background-color:…
-
10
votes2
answers418
viewsHow to make HTML5 sound available?
I would like to play an audio on a website. You probably need to use the tag <audio> with parameters, right? And then to press play?
-
10
votes2
answers424
viewsWhat forms of data transfer are available to Javascript?
It is common to find questions, answers and tutorials talking about AJAX, which is nothing more than the XMLHttpRequest, as a form of data transfer between two computers. I wonder if there are other…
-
10
votes3
answers19566
viewsCustomize the browser message for a "required" field
With the attribute required (English), for example in a field of the text, the browser will present a balloon to the user to realize that this field is required and must be filled. The problem…
-
10
votes2
answers1100
viewsWhat is the difference between Meter and Progress in HTML5?
What is the difference of these two html tags, only the appearance(layout,color) is different? <meter min="0" max="100" value="22"></meter> <progress value="22" max="100">…
-
10
votes1
answer446
viewsEaseljs isometric map, code problem, can identify
window.onload = function() { var stage = new createjs.Stage("canvas"); var bmp; var board; var img; var data; var tileClone; var x,y; var mapWidth; var mapHeight; img = new createjs.SpriteSheet({…
-
10
votes3
answers1415
viewsWhen should I use elements '<ul>'?
Recently I was thinking about the structure of a component for a project in which we are trying to follow the outlines of the W3C semantics, but I ended up with a certain doubt. Here is the…
-
10
votes1
answer339
viewsjQuery code works on http://jsfiddle.net but does not work on https://jsfiddle.net
I built the jQuery code in jsFiddle.net to test and it worked properly, however when sending the link, provided by jsFiddle, with https, the code stopped working. Can anyone explain why? I’m using…
-
10
votes1
answer452
viewsjQuery does not use the HTML5 dataset on the date?
When modifying a certain initial value of data from jQuery, I noticed the value of the dataset is not modified. So I drew up the following test: HTML: <div data-value="initial value"…
-
10
votes2
answers2050
viewsHow to show only "x" characters in a div?
Hello, I am developing a system where will be publications, but I would like that, in each publication, shows "x" characters, and passing of this value, shows a button written "Show more", same as…
-
10
votes2
answers781
viewsWhat functions are form tags in HTML5?
The question refers to tags not so commonly used, for example, <fieldset>, <legend>, <label> and <optgroup>. Recently I had to do extensive work involving registration forms…
-
10
votes2
answers4144
viewsDifference between _Blank/_self and Blank/self
I wonder if there is any recommendation in the use of Html attributes target with or without the _ before the value, I see that it’s kind of standard to use it with _, but if it is absent the…
-
10
votes1
answer969
viewsWhat is the difference between Service Worker and Web Worker?
I was reading on MDN and I realized that in addition to the Webworkers, there are also the Service Workers. It even has this example code: if ('serviceWorker' in navigator) {…
-
10
votes3
answers645
viewsWith CSS to cut text? Type a cut text effect or broken font?
I was wanting to create a text to use as a tag <h2> on the site. The idea is that the element continues as a text, I don’t want an image, because I want to keep the text semantic and…
-
10
votes1
answer194
viewsWhat is the difference between Media Query Pointer and Any-Pointer?
I was seeing a way to determine if the user access is done by a Desktop, usually having a mouse as an interaction device. Or if the user is accessing via a mobile device, usually without the mouse…
-
9
votes3
answers14251
viewsSelect elements containing a particular "date" attribute
On the page there are several elements with attributes data. To avoid going around adding CSS classes to the elements, making page code denser, I would like to select elements by attribute name…
-
9
votes2
answers6568
views"placeholder" of "textarea" does not appear
I have a textarea with a placeholder which according to the documentation (English) is perfectly valid and should work: Example in Jsfiddle Part of the form <?php /* Apenas o código referente à…
-
9
votes4
answers14813
viewsI need to lock Ctrl+v in a text box
I want to create an input type="text" which does not allow them to glue anything to it. You do not need to present any alert or anything like that, just don’t allow the necklace.…
-
9
votes1
answer343
viewsHTML5 video without context menu
How to disable the right mouse button context menu in videos, so the video menuzinho does not appear? $('#nome').contextmenu( function() { return false; }); The above code, but does not work in…
-
9
votes2
answers3245
viewsRecord audio and stream live
I need to record audio and broadcast live, I found that with HTML5 and Javascript/jQuery is possible and that has plugins that can help me. I’m wearing one of them, the Mediastreamrecorder and I’m…
-
9
votes3
answers94464
viewsHow to mask an HTML5 input?
For example... I want one input unique to phone numbers. By typing the DDD it automatically receives the parentheses: (xx). When typing the rest of the numbers it divides with a hyphen, for example:…
-
9
votes2
answers355
viewsDownload file by mobile device
I have a link, and by clicking on this link he downloads an image. So far so good, plus when I access from some mobile device I can’t download this file, someone has some idea or solution to solve…
-
9
votes2
answers1708
viewsIs it correct to concatenate PHP in Javascript?
I often use this method, but do not know if it is appropriate, to rescue the id in JS I use echo php <script type="text/javascript" src ="js/jquery.js"></ script> <script type…
-
9
votes2
answers48118
viewsLoad a tab into a div
I am developing an HTML page for mobile and I have the following question: is it possible to load one page inside another? For example: pagina.html: <div class="container22"> <div…
-
9
votes2
answers1749
viewsPOST method does not take FORM value
I’m making a contact form on a website, but the PHP method does not take the value of input in the form, I’ve searched the internet and I can’t find anyone with the same problem. And e-mail is being…
-
9
votes1
answer5823
viewsWhen to use the xmlns attribute in the html element?
In HTML5, when to use xmlns? Thank you! <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"…
html5asked 8 years, 8 months ago Ingrid Farabulini 1,002 -
9
votes2
answers2054
viewsIs it wrong to structure a form with tables?
Today with the HTML5/CSS3 and its numerous ways to align the elements (Divs) Is it wrong to structure a table form? Ex: <form action="action" method="POST"> <table style="width:100%">…
-
9
votes4
answers48238
viewsHow to convert a String to Int in Javascript?
HTML5: <!DOCTYPE html> <html> <head> <title>JSTest</title> <meta charset="UTF-8"> <script src="JSource.js"></script> </head> <body>…