Editing HTML in Dreamweaver > Understanding basic HTML tags > Structure of a document |
Every HTML document (Web page) must contain certain standard tagsthe head
tag and body
tag. The head section contains the title of the Web page (and any scripts), and the body section contains the actual text that will appear in the Web page as it is displayed in the browser.
Here is the structure of a sample document:
<html> <head> <title>Title goes here</title> </head> <body> <center> <p> <font size=+2>Welcome to my page</font> </p> <p> The p is a paragraph tag, which tells the browser that this is all one paragraph. </p> </center> </body> </html>
The required tags for every HTML document are html
, head
, and body
.