
Basic HTML -- 10 Simple Tags Worth Knowing
This simple guide to HTML explains to the beginner how to create a quick and easy Web page.
HTML stands for Hyper Text Markup Language. An HTML page has markup tags that tell a Web browser how to display that page. A page often is divided into a header, body and footer.
You can create a page in a text editor such as Notepad or SimpleText, as well as an advanced Web editor.
Ten basic tags to get started are:
- <html> -- the tag that tells the browser it is displaying an HTML document.
- <head> -- header information, which is not displayed in the browser.
- <title> -- the title of the document, which is displayed at the top of the browser.
- <body> -- the main body of the document, which will be displayed in the main browser window.
- <p> -- a paragraph symbol
- <i> -- italic
- <b> - bold
- <table> -- the table tag
- <tr> -- the table row tag
- <td> -- the table data cell tag
Here is a simple starter page:
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p>This is my first homepage. <>>This phrase is in italic</i> while </b>this phrase is in bold. </b> </p>
<table>
<tr>
<td>This sentence is in a table cell.</td>
<td> This one is in another table cell on the same row.</td>
</tr>
</table>
</body>
</html>
Note that each starting tag has a corresponding end tag but with a slash added. So the <html> tag that starts the page also has a </html> that ends the tag.
Build the above sample in your word processor, save it to your desktop as sample.html and open it in your browser to see the result.