Need of <!Doctype html> tag


#1

im getting confusion with Doctype html tag . if i does not mention this tag inside the code, my web page also works correctly so why any use this tag plz tell.


#2

browsers have become very clever, but you should still declare doctype to ensure that all browsers your clients use, render you document correctly. What if your webapp consist of html and xml?

You can read about it here, and its better to get started with good habits early on, then trying to build in those habits later


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.