fbe University of New South Wales Sydney Australia UNSW
Faculty of the Built Environment search
HTML Reference
File Header

HTML requires a tag at the start of the file to identify the file as a HTML file! Unsurprisingly, that tag is <html>. It’s a binary tag, so at the end of the file is the </html> end tag.

After the <html> tag comes the <head> tag, this is used to mark the start of the HTML file header. There are a number of tags that can go within the header, but the most common is the <title>. The text in between the start and end title tags is displayed by most browsers in the application title bar. Following the header, the <body> tag is used to "announce" the beginning of the information!

<html><head>
<title>Page Title (displayed in application title bar)</title>
</head>
<body>


Go to next section: Body Tag or return to the Contents page.

Last Updated: 06 November 1998