which doctype is correct for html5?

But it's strange to have the editor hint without this attribute when writing code. DOCTYPE. What are the five steps involved in migrating from HTML to HTML5? Answer: ... What is the correct HTML5 element for playing audio files? 0 1 2. The DOCTYPE for HTML5 can be written as shown below: < !DOCTYPE html > Usage of Doctype: In the version, HTML 4.01, the usage of the declaration of DOCTYPE was to create a reference to a document type definition (DTD), since the version HTML 4.01 was completely based on a Standard Generalized Markup Language(SGML). Which doctype is correct for HTML5? The other thing is, if you put a premium on validating your code (as well as you can when coding for email), then we recommend the XHTML 1.0 transitional doctype. The declaration is an instruction to the web browser about what version of HTML the page is written in.