+ 2

When coding HTML does one state that he is using HTML4 or HTML5

23rd Aug 2017, 11:11 AM
Kollynce Kryme
Kollynce Kryme - avatar
3 odpowiedzi
+ 4
that's not required but required to pass a valid w3c html5 Doc compatibility. <!doctype html> for a proper html5 document
23rd Aug 2017, 11:18 AM
Lord Krishna
Lord Krishna - avatar
+ 3
HTML 5 onwards (actually only HTML 5 as of now) need the declaration tag: <!DOCTYPE HTML>
23rd Aug 2017, 12:59 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar