Basic HTML Tags
|
|
Before you can really get started with learning HTML, you need to understand some of the basic HTML tags that make up any website. Tags are located between the < and the > symbols. What is in between the symbols is what the browser is looking for to properly display your website. You will notice that all tags are within these symbols and without them, they would be displayed as nothing more than text, if you are lucky.
HTML tags always begin and end with < and the > symbols. Each website you create must have the following eight tags:
- <HTML></HTML>
- <HEAD></HEAD>
- <TITLE></TITLE>
- <BODY></BODY>
Text between each tag, remember, is called an element. Your tags will not display, but the text between them will.
Quick review: the first tag in each pair is the opening tag. The second tag is the closing tag. You must have a closing tag paired with the opening tag in order to properly close your element, with a few exceptions that will be noted as we go through HTML.
The HTML Tag
Each HTML page's code starts with the <HTML> tag. This tells the browser that the subsequent code is all written in HTML. The closing tag