Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doctype, HTML 5

Tags:

html

doctype

i have two questions:

1) was HTML5 released and if yes, when?

2) is doctype HTML 5 in use? or is it better to use one of these: - HTML 4.01 Strict, - HTML 4.01 Transitional, - HTML 4.01 Frameset, - XHTML 1.0 Strict, - XHTML 1.0 Transitional, - XHTML 1.0 Frameset, - XHTML 1.1

like image 789
MB1 Avatar asked May 27 '10 20:05

MB1


People also ask

What is the DOCTYPE for HTML5?

HTML5 doctype is written as <! 'DOCTYPE' keyword is not case sensitive.

How do you set DOCTYPE in HTML5?

To declare an HTML5 doctype, `<! DOCTYPE html>` is required in the first line of your HTML document. Doctype declaration for HTML5 is not case sensitive and does not require a closing tag.


1 Answers

<!DOCTYPE html>

That's the HTML5 doctype. All modern browsers support HTML5, although feature support is not necessarily complete.

As of March 2010, the specification is in the Draft Standard state, according to the W3C timetable HTML5 should reach W3C Recommendation state by late 2010.

Nice table of HTML5 Feature support shown here: http://www.findmebyip.com/litmus/#target-selector

In my opinion, there's no reason not to use the HTML5 doctype.

like image 161
ghoppe Avatar answered Nov 09 '22 11:11

ghoppe