WHAT IS HTML
HTML stands for HyperText Mark-up Language. Like most things these days what the acronym stands for is so full of jargon that it is little more informative than the acronym itself - Don't worry too much about it.
What is more important is what HTML is used for. It is the Language of the internet. If you have ever looked up stock prices, pornography, checked your bank account, or indulged in any other vices over the internet such as shopping, you were viewing and messing about in documents written in HTML.
HTML documents only contain letters of the alphabet and common symbols that you find on the keyboard. They are just plain text files filled with special sequences of letters and symbols that act as formatting and organizational instructions. These special sequences are called tags. The text that they organize and format is called content. Luckily, once you overcome the initial strangeness these tags have, they are reasonably easy to remember and are even intuitive in many cases.
The Golden Rules
|
MOST IMPORTANT:
- Tags are surrounded by < and >
- Most tags work in pairs - with an opening and closing tag.
- The closing tag always has a / in it so you can tell it from the opening tag.
- The opening tag provides the instructions for where to start doing something and the closing tag where to stop.
- If you want something to appear on the page it should be inside the body tags (after the opening one and before the closing one)
|
Blank spaces and blank lines are just ignored in HTML, they are not displayed when you view the file in your browser. You can use as much space as you like to help organize the structure of your document and to make it easier to edit.
Unknown tags are just ignored, the computer makes no effort to interpret them.
|
ALSO IMPORTANT:
- When you come to saving your file make sure you add .htm or .html to the end of the name. This will help your computer to identify the purpose of the file and the software it should use to display it.
|
If you are curious about how a page has been written on the internet, most browsers have a menu option which allows you to view the source code. In Internet Explorer it is under the View Menu.
Next Page >>
|