If we have two files one of HTML & other of HTML5, how could we be able to find the difference between them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If we have two files one of HTML & other of HTML5, how could we be able to find the difference between them?

26th Jun 2015, 10:29 AM
Shekhar Jha
6 Answers
+ 1
The tag <!DOCTYPE HTML> represents an HTML5 document!
24th Jan 2016, 10:24 AM
Vedprakash Upraity
Vedprakash Upraity - avatar
+ 1
to differentiate between the HTML and HTML 5 files.. there is a tag named <!DOCTYPE HTML> this tag if includes in the file represents that it is a HTML 5 file!
21st Feb 2016, 2:16 PM
Srishti Deou
Srishti Deou - avatar
0
Its still same Document, ONLY that one (HTML) is the real foundation of website designs while it may become obsolete if d One (HTML5) had taken all its elements.
18th Oct 2015, 5:09 PM
Stijjani
Stijjani - avatar
0
With HTML, u can ONLY Structure ur contents, with HTML5, u can still do some cool layouts and interactions bcos its more becoming programming language than structure only as it comes with new Tags like canvas to do graphics
18th Oct 2015, 5:13 PM
Stijjani
Stijjani - avatar
0
<!DOCTYPE > Made them differ
30th Oct 2015, 1:29 PM
Himanshu Saini
Himanshu Saini - avatar
0
Obviously certain element belong to HTML5 which will be missing in ur other file such as <meta> or <canvas> but if they both have the same tags then the only thing that differentiates them is the <!DOCTYPE html> at the beginning !
3rd Jan 2016, 11:48 PM
B.S.D