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
-
9
votes1
answer1350
viewsMove the character in the canvas and change image
Well, I would like to know how I could implement a Sprite on my canvas, I am very lay with canvas, the idea is, when pressing arrow -> he runs Sprite 1.png, when pressing arrow <- he runs…
-
9
votes1
answer3600
viewsHow to put subtitles (subtitles) in videos?
How can I add subtitles/Subtitles to the video tag: <video> <source src="video/video.mp4" type="video/mp4"> </video>
-
9
votes1
answer983
viewsIs there any way to record the webcam through HTML5?
I know there’s a way (I’ve even used it on at least 5 systems I’ve developed) to open the webcam by HTML5 and capture a photo (I do it using the canvas). Example Camera Capture with Html5 But I had…
-
9
votes2
answers3332
viewsPreload, Prefetch and Preconnect, what are they for?
I see in several sites these values Preload, Prefetch and preconnect in the attr rel of certain links, but I did not understand exactly its functionality. What exactly are they for? When to use?…
-
9
votes3
answers4539
viewsForce client-side update after site update
The scenario of my problem is this, I have a website that has been updated, but some customers are reporting that the update was not made for them, which are still in the old model of the site…
-
9
votes2
answers211
views -
9
votes1
answer390
viewsWhat is the difference between Local Storage, Indexeddb and Websql?
I have a habit of using Local Storage to store JWT, I would like to know the difference between Local Storage, Indexeddb and Websql and when to use one or the other.
-
9
votes3
answers2835
viewsWhat is the difference between <q>, <blockquote> and <cite> tags in HTML? And how to use them correctly?
What’s the difference between <q> and <blockquote> and <cite>, because everything seems to be for quote. Is there any good practice or correct way to use these tags correctly? We…
-
9
votes1
answer205
viewsHow to make the button outline follow the curvature of the elements?
I know that the outline is very important for usability and especially for the accessibility of the page, including here is a very interesting Webaim article about it:…
-
9
votes3
answers22536
viewsHow to make a Mask in pure Javascript?
I need to create a mask (mask) in the phone contact forms that shows the following result in the form (00) 0 0000 - 0000 in Javascript without using Jquery. <div class="row clearfix"> <div…
-
8
votes4
answers2543
viewsInsert paragraphs from a JSON file into a DIV
I have a file json that in its contents it contains paragraphs. These paragraphs are separated by \n but when I insert the content the paragraphs are not separated and instead of line break I have a…
-
8
votes4
answers3248
viewsHow to implement a textarea responsibly?
I want to use a <textarea>, but instead of using rows="4" cols="100", wanted to wear something like this: style="width: 80%" so that the layout is responsive. But since this does not work, IE,…
-
8
votes2
answers176
viewsWhat is the forecast to support importing text/html content into modern browsers using the link tag?
Recently I came across the current TAG documentation <link> on the website W3.org - http://www.w3.org/TR/html-imports where you specify that you can import content with mime-type text/html, ie…
-
8
votes2
answers3832
viewsHow to capture microphone audio using HTML5 Audio API?
How do I capture microphone audio using the HTML5 Audio API and play it at the same time?
-
8
votes3
answers637
viewsDeploying queues for Websocket
I’m developing a server WebSocket which will control multi client connections, will basically function as a chat, will be a kind of game multiplayer, after many researches and some tests I realized…
-
8
votes2
answers6863
viewsCapturing audio over the microphone via Javascript or HTML
I need to capture microphone audio and record to file. Send to PHP server. As I do, in the examples I saw here, I didn’t notice how to record the sound files.
-
8
votes2
answers4852
viewsSend sms from a mobile device via HTML5/javascript
I am creating a WEB application for mobile device that will be downloaded in one of the stores, with a mini WEB server integrated and that works on any operating system(iOS, android, Windows8, etc).…
-
8
votes1
answer11801
viewsHas anyone managed to use jQuery File Upload yet?
I refer to this link http://blueimp.github.io/jQuery-File-Upload/. The documentation is very vague. I have already changed the "action" of the "form" but without success. Form Html5: <form…
-
8
votes1
answer373
viewsOffline mode Rails app
In a new endeavor, I need a simple application to stay working if the internet connection is lost. Can someone explain to me how to do this? I had thought to use HTML5’s persistence features in case…
-
8
votes4
answers47612
viewsPin the footer of an html page and follow the page content
I need to pin the tag footer at the end of the html page, but when the content exceeds the page by tag footer should follow the content and not be fixed. See the CSS code is the HTML code I’m using…
-
8
votes4
answers24849
viewsCSS DIV diagonal
I recently received a layout to develop, in which I have a specific part that I can not do, I need a div that is inclined, as in the example, more than its text flows normally, the text is not…
-
8
votes5
answers35403
viewsHow to align a footer element always at the bottom of the page?
I have a page on which there’s a div with various contents inside, which are modified according to the user’s wish. Below there is another div who is the Footer. In case I put one position:…
-
8
votes1
answer534
viewsRotate an arrow on a canvas
I need to draw a flow dynamically based on a few user choices. In this flow I want to draw the chosen hypotheses (blue circles with numbers) and the direction between the choices (lines with…
-
8
votes2
answers678
viewsMixing Javascript libraries in a project
I wonder if it is not good practice to load several different Javascript libraries in one application. For example, the project has an X deadline for delivery, but should be done in Angularjs but…
-
8
votes0
answers263
viewsDevelopment that shows different types of calculations
I need help to assemble a page, program or application that does the following topics of mathematical fundamentals and shows the calculations that the program did. Transposition of Object Rotation…
-
8
votes2
answers217
viewsDoubt Semantic Html5
What’s right for sidebar? <div> <aside></aside> <aside></aside> </div> <aside> <section></section> <section></section>…
-
8
votes6
answers28831
viewsHow to limit an input of type Number to only 3 characters?
I have a problem with a variable of the type integer, for the maxlength="" only works with string and I need to stop, but it’s like Number. I think you need javascript, if anyone knows the solution…
-
8
votes2
answers314
viewsIs there any difference between clip and overflow property?
Studying on the property clip I came across the following statement: The estate clip works in a similar way to overflow with some differences. It gave me some doubts: This statement is true? What…
-
8
votes2
answers2446
viewsjQuery - how to change text after "<i>" element?
Follows code: <div class="file-caption-name"> <i class="glyphicon glyphicon-file kv-caption-icon"></i> Alterar texto aqui </div> I’ve tried that way: $('div.file-caption-name…
-
8
votes2
answers671
viewsWhat is HTML Outline (HTML Outlines)?
What is the function of an HTML sketch (HTML Outlines)? How he is formed? When? Could someone give me a profound explanation on the subject?…
-
8
votes1
answer5630
viewsWriting on Javascript screen
I need to make an area in the form that the user digitally signs with a touch screen pen to store their signature. As if the same was writing on a paper but on screen. I read about Canvas but only…
-
8
votes1
answer303
viewsWhat is an adjacent brother? In what does he differ from a brother knot?
One concept that confuses me when talking about HTML is that of adjacency, and of us brothers. What is the difference of brothers and adjacent brothers ?…
-
8
votes1
answer720
viewsHow to customize emojis (Unicode) of a page?
On Windows operating system while using emojis the source used by browsers usually is the Segoe UI Emoji Note: in Firefox it has its own "emoji system", I believe it uses the Twemoji Mozilla: -…
-
8
votes2
answers150
viewsIs it worth using the W3C validator?
I ask this because it seems that he accuses things that, I think, were not to accuse. For example: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8">…
-
8
votes2
answers1082
viewsCollision system for game in Html5!
I’m learning a little about games in Html5,css and js. I made a very basic game, player drive, enemy and a collision system, see: var canvas;//o elemento canvas sobre o qual desenharemos var ctx;//o…
-
8
votes4
answers418
viewsIs there a difference in using HTML5 attributes with or without true/false?
There is a possibility of some kind of problem in the code when I do not assign a boolean value to the attributes disabled, readonly or required? I’m working with Java in the back end and the IDE…
-
8
votes4
answers1814
views -
8
votes5
answers2803
viewsHow to make CSS a paragraph with Capitular letter (Drop Caps)
I would like to style only the first letter of each paragraph of my text, but I don’t want to have to separate that letter with a <span>, because I want to keep the correct semantics of the…
-
8
votes2
answers666
viewsOnly with CSS is there any way to make a "Toast"? An element that goes up and then click to close it?
In mobile there is a very common component that is known as "Toast", but I kept thinking about how to adapt it only with HTML and CSS Is there any way to do something like this "component" above…
-
8
votes1
answer691
viewsInput Date type with year containing 6 digits
Look at the snippet just below, that the input of the kind date when typed in the value year, it is possible to insert 4, 5 or 6 digits to be exact: <input type="date"> My doubts are exactly:…
-
7
votes4
answers12949
viewsReturn Array with name of all files in directory
I need my HTML5 page to return a Array with all existing file names and extensions in a directory within my site. I can do this in other server-side languages, but I would like to do it in JS. there…
-
7
votes2
answers1209
viewsUse <Section> tag inside a <aside>
My appointment is as follows: <aside> <div class="last-news"> Conteudo </div> <div class="social"> Conteudo </div> <div class="links"> Conteudo </div>…
-
7
votes2
answers3404
viewsTag hgroup is unusable?
I was watching some video-lessons on HTML5 and came across the tag hgroup which serves to group h1,h2..., reading that this morning I saw that she was removed from HTML5. Does that check? it is no…
html5asked 10 years, 8 months ago Felipe Viero Goulart 3,693 -
7
votes2
answers17330
viewsHow to make basic live stream with HTML5 video API and PHP?
I would like to know the basics about how to create (make) a live stream system...I have a blog script in php where I created a system of users and even a system of friendships but I would like to…
-
7
votes1
answer1002
viewsSemantically, which tag should I use for icons?
I have a navigation menu with some icons using @font-face. Each item in this menu has: the icon (with ::before); text, explaining the function of that link. .It turns out that when the page is…
-
7
votes1
answer3635
viewsHas Marquee been discontinued in HTML5?
If yes, what the tag that I can use to enjoy its functions? How can I limit the beginning and its end, for example: When using the tag Marquee, in the transition of images or texts there is always a…
-
7
votes1
answer474
viewsHow to change an HTML 4 document to HTML 5?
I have a project already ready, done in HTML 4.01, as I can change so that it recognizes HTML 5 ? I can just change that: < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"…
-
7
votes1
answer982
viewsSave space, SVG, Base64 or regular images?
I created this question to clarify doubts that I ended up developing over the months in relation to images and space. While accessing websites, either on my mobile phone or my normal computer, I…
-
7
votes0
answers73
viewsHow did Microsoft manage to customize the title style of the tab?
Looking at the new Microsoft page for Windows 10, at least in Ubuntu 14 / Chrome 43, I realized that the font size of the tab was larger than the source of the other open tabs. In Firefox 38, this…
-
7
votes2
answers335
viewsHow to verify that the document markup is HTML5?
I am creating a plugin and need to know if the document is written in HTML5 or not. I thought I’d use the document.doctype, but I don’t know what to compare it to since I compare it to '<!DOCTYPE…