|
There are two things that make an ordinary text file a simple web page:
- The file must contain basic HTML tags that define the structure of the web document.
- The file name must end in .html or .htm so it can be recognized by the browser.
The basic structure of a web page is defined by two parts: the head (or header) and the body.
The head contains the information about the document, like the title; the body contains the actual content of the web page. The title tag provides a short description of the contents of the page. The title tag is the only element used within the head section that is readily visible to the user. These tags are contained within the html tag, which tells the browser that the text is in the HTML format.
View this sample page is your browser.
|