+ 4
what is the difference between <html> and <!dochtml> they both are used to tell the editor that it's a html coding but what is the difference ? thanks in advance
9 Respuestas
+ 4
Hi Shrangi Soni , when you use <! DOCTYPE html > you are telling the editor that you are coding on HTML5 ;)
+ 1
okay thanks
+ 1
simply <!dochtml> is to specify HTML5
0
doc html is html 5
0
!doctype html is html5
0
You're welcome
0
html is an open and end tag. while!DOCTYPE html defines html5
0
html tag is used to show that you are coding in html 4 and these are many differences in attributes and others while !doctypeHtml is a starter tag of html5 in which many advanced things happens
0
! doctype is tag for HTML5