0

How the file knows if is HTML or HTML5?

Hi, If Im coding in HTML5, need I write an additional tag so the browser knows is HTML5 and not HTML? or doesnt matter and I can mix HTML and HTML5 codes together? Thanks!

26th Feb 2019, 2:20 PM
Alvaro
1 Antwort
+ 3
start your code with the correct doctype declaration: <!DOCTYPE html> That should be enough to recognize your code as HTML5
26th Feb 2019, 2:38 PM
marjel101
marjel101 - avatar