Search unanswered questions...
Enter a question here...

What html tag element surrounds all the other tags in the document?

[Edit]

The HTML tag surrounds all others:
<html></html>
The BODY tag surrounds all of the content tags:
<body></body>

Note: Right-click a page in your browser & choose View Source. Then look at the top and bottom of the text to see how these play out.

Exception to the rule: There is sometimes a !DOCTYPE tag that appears before (outside of) the HTML tag, but there are no tags that appear after it.

Improve Answer Discuss the question "What html tag element surrounds all the other tags in the document?" Watch Question

First answer by Jaygeek. Last edit by Jaygeek. Contributor trust: 14 [recommend contributor]. Question popularity: 14 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > What html tag element surrounds all the other tags in the document?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
How do you put html tags on webpages?  Difference between an element and tag?  What is the first tag in an html document?  List the basic elements of a html document?  What is the basic building block of an html document?  What is the difference between an HTML tag and HTML document?  What HTML tag element contains information about the document?  What html tag element is used to make a link to another web resource?