Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify HTML5

Tags:

html

Is there anyway to determine whether an HTML file was written in HTML5?

like image 809
Jayson Tamayo Avatar asked Dec 14 '11 05:12

Jayson Tamayo


People also ask

How does browser identify HTML5?

The simple answer is that browsers don't detect HTML5 as distinct from other versions of HTML. They don't know and they don't care. Just the same as they don't know or care which version of JavaScript or level of CSS is being used.

How do I know if my computer supports HTML5?

The getContext method is checked by accessing it on the created input object. The result of this expression is checked with an if-statement. If the result is true, it means that HTML5 is supported by the browser.

How do you define HTML5?

Hypertext Markup Language revision 5 (HTML5) is markup language for the structure and presentation of World Wide Web contents. HTML5 supports the traditional HTML and XHTML-style syntax and other new features in its markup, New APIs, XHTML and error handling.

What is the difference between HTML5 and HTML?

A hypertext markup language (HTML) is the primary language for developing web pages. HTML5 is a new version of HTML with new functionalities with markup language with Internet technologies. Language in HTML does not have support for video and audio. HTML5 supports both video and audio.


1 Answers

oversimplified
If it uses an HTML5 doctype, it's HTML5.

<!DOCTYPE html> 
like image 128
zzzzBov Avatar answered Oct 08 '22 17:10

zzzzBov