| Amazon Books |
|
HTML
HTML Tutorial
Other
|
Basic HTML Tags
HTML consists of code known as tags which tells browsers how to interpret information in a document. HTML tags are indicated with angle brackets beginning with the left angle bracket "<" and ending with the right angle bracket ">". Some tags are encapsulated. This means that a beginning and ending tag are used as follows:
<HTML>
The <HTML> tag indicates the beginning of a HTML document and the </HTML> tag indicates the end of the document. Most ending tags are the same as the beginning tag with a forward slash "/" at the beginning of the tag. The HTML tag informs the browser that the document is an HTML document and all other tags used in the document will fall between these beginning <HTML> and ending </HTML> tags. After the HTML tag, the HEAD tag is used to indicate the document header. The header contains information specific to the document that is generally not displayed to the reader. An example of this type of information would be META information (to be discussed later.) The HEAD tag is also encapsulated as follows:
<HTML>
Within the header is the document title. The title information generally appears at the top left side of the browser. It can also be used to find the document in search engines that locate documents by title. The title is added to the document as follows:
<HTML>
The BODY tag indicates the body of the document where information such as text and graphics would fall. The position of the BODY tag is as follows:
<HTML>
|