Why should the DOCTYPE of an HTML 5 be <!DOCTYPE HTML> and not <!DOCTYPE HTML 5>? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Why should the DOCTYPE of an HTML 5 be <!DOCTYPE HTML> and not <!DOCTYPE HTML 5>?

HTML 5

12th Sep 2018, 11:01 PM
EDUDZI WORLASI OSBORN
EDUDZI WORLASI OSBORN - avatar
3 Respuestas
+ 2
The standardizers wanted to simplify it (compared to how you were supposed to do it for the different modes/doctypes HTML 4.01 and XHTML had to offer). Slightly longer version: https://www.w3schools.com/tags/tag_doctype.asp Addendum: ... HTML5 is the "living standard" of HTML, so we may never see an HTML 6 per se, depending on how the politics shake out.
13th Sep 2018, 12:42 PM
Janning⭐
Janning⭐ - avatar
+ 4
Because 5 in HTML 5 is just a version number. The original name was still HTML.
12th Sep 2018, 11:50 PM
Email Not Activated
+ 1
Thanks for your answers
22nd Sep 2018, 8:47 PM
EDUDZI WORLASI OSBORN
EDUDZI WORLASI OSBORN - avatar