IIC 1: File Structure

The basic HTML file consists of several necessary components. The first of these is a designated start of file (SOF) and end of file (EOF). This tells the browser where the HTML code starts and ends. These tags are <html> and </html> respectively. These tags must be at the start and end of the HTML file. Any content outside these tags will not be rendered as HTML. The next tags start to define the content and structure of the document. The next one used (HTML is processed sequentially) is the <head></head> tag, which among other things, contains the <title></title> tag, which contains what appears on the title bar of your browser when view the file. The last main group of tags are the <body></body> tags. Inside these is where all of your site's content will be. Below is an example.

<html>
<head>
<title>My Website</title>
</head>
<body>
This will appear in my website! </body>
</html>
All of this code will result in a page with the title "My Website", with the words "This will appear in my website!".