Questions tagged as 'html5'

1
answer

How to put captions (subtitles) in videos?

How can I add subtitles / subtitles to video tag: <video> <source src="video/video.mp4" type="video/mp4"> </video>     
asked by 09.04.2017 / 03:07
1
answer

Is it possible to use Input Value as a CSS selector?

See the examples below. I'm trying to style my CSS through value that it has, but it's not working. I've assembled 3 examples, one so that if input has [value="red"] it should have a red border. But even if you type re...
asked by 10.12.2018 / 11:45
1
answer

photo album with HTML and CSS

   I have a folder on the site called PHOTOS , by clicking the PHOTOS folder I thought about putting several < article > sharing each photo album type: < article > album de fotos 01 < article > < article > al...
asked by 09.03.2018 / 14:52
1
answer

How to prevent an Input Required from starting with the CSS style: invalid

When I have a input required that has some CSS style when it is :invalid , even before the user interacts with input it already becomes stylized as invalid. How can I avoid this? See the example: input:invalid {...
asked by 05.09.2018 / 21:13
1
answer

Is it possible to send messages from one WebWorker to another WebWorker?

I have a page where I want to use a set of WebWorkers to perform tasks in the background. Each WebWorker has a specific function, but potentially useful to others. It is simple to receive / send messages to and from a WebWorker created by the p...
asked by 11.12.2013 / 23:28
1
answer

Disable download button HTML5 Video

After updating Opera and Chrome, using the video tag, the option to download the video appears as below: Doesanyoneknowhowtodisablethis?I'musingthefollowingcode:<videowidth="800" height="600" controls> <source src="...
asked by 27.12.2016 / 16:32
1
answer

Is it correct to omit the "true" value of boolean attributes inserted in HTML elements?

When we insert boolean attributes into elements ( tag ) <html> we do not need to enter the true value, and its simple presence already confirms, by default, that this attribute is active. Example: <html lang="pt-BR" sp...
asked by 20.03.2016 / 15:57
2
answers

How to check if the document marking is HTML5?

I'm creating a plugin and I need to know if the document is written in HTML5 or not. I thought of using document.doctype , but I'm not sure what to compare it with since it compares with '<!DOCTYPE html>' false, because it'...
asked by 19.08.2015 / 22:26
1
answer

Are there "favorite" HTML text editing tags by google search robots?

I decided to rewrite some 300 files that I will use in a project, as they were originally written directly in google docs, and when saved as HTML, and seo ). So what I would like to know is whether there really is a difference in the use of...
asked by 30.06.2015 / 03:04
0
answers

How was Microsoft able to customize the tab title style? [closed]

Looking at new Microsoft page for Windows 10 , at least on Ubuntu 14 / Chrome 43 , I noticed that the size of the source of the flap was bigger than the source of the other open flaps. In Firefox 38, this does not happen. "Win feature...
asked by 03.06.2015 / 14:52