Reputation: 111
I see that HTML tags start with a < and end with a > So, is <!DOCTYPE html> a HTML tag?
<
>
<!DOCTYPE html>
Upvotes: 2
Views: 83
Reputation: 943510
HTML 5 defines:
Tags are used to delimit the start and end of elements in the markup.
The Doctype does not delimit an element. So no, it is not a tag.
It is:
a required preamble
Upvotes: 5