New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Does a <!DOCTYPE html> tag is a HTML tag?
8 Answers
+ 1
Please read question carefully and answer.
<html> & <!DOCTYPE html> is same tag google it.
+ 1
I want to ask that
<html> & <!DOCTYPE html> is same tag or not?
+ 1
Yes!
it is Kindof
0
If I didn't answer your question the first round, I still have no idea what you are trying to ask then.
0
No. They are separate tags and are listed separately in the list provided in the link.
0
<html > this is an html tag but
<! DOCTYPE html > is not an html tag. It is an instruction that tells the web browser which version of html you are using.
<html> this is html tag that tells we start html code from here..
0
w3schools seems to be conveying contradictory information. Here they say <!DOCTYPE> is not a tag
https://www.w3schools.com/tags/tag_doctype.asp
but then they consistently include it in their HTML tag reference (not to mention the url also lists it as a tag). No wonder beginners are confused!
:)