| Web page: | Markup: |
| This paragraph is a very simple HTML sample containing only text with very few tags. Compare this to its source code to see the minimum elements required to build an HTML doc. |
<html> <head> <title>Minimal HTML Document</title> </head> <body> This paragraph is a very simple HTML |
Some HTML generalitites:
The primary elements of an HTML doc:
| <html> | Tells the browser that what follows is HTML text |
| <head> | the section of the document that contains the title (can also contain other things like meta tags, stylesheets and scripts) |
| <title> | whatever you put between the title tags appears in the top bar of the browser window. (The title of this page is "WGD | XHTML: Minimal HTML Requirements") |
| </title> | closes the title tag |
| </head> | closes the head tag |
| <body> | begins the body of the document, the place where the page's visible content goes (The content of your web page goes between the body tags.) |
| </body> | closes the body tag |
| </html> | closes the html tag - the browser stops rendering here |
<< XHTML Markup (Tags) | Index | Basic Text Formatting >>