How to identify whether a web page is in HTML 4 or HTML 5?
HTML 5 websites will not have a reference to the DTD in the doctype. Thus, the doctype tag at the top of the file will look like this: <!DOCTYPE html>
In HTML5 you may find following tags
- Semantic Elements : <header>, <footer>, <article>, <section>
- Multimedia Elements : <audio>, <video>
- Graphic Elements : <canvas>, <svg>
- Attribute of form Elements: date, time, calendar, range