![]() |
| HTML stands for Hyper Text Mark-up Language and is the code in which nearly all web pages are written. In spite of it's complicated name, the actual code is very simple. Before you can start learning HTML there is one main thing that you need to know. ALL commands are typed within triangular brackets < >. These are called "tags". When you type something between these tags, it means you want to start a command. When you want to end a command you need to end the tags. To end a tag you type </command>. That is, you add a / after the first <. The concept of tags is the hardest thing to grasp in HTML. Once you understand that every command needs to be inside <these tags>, you will be well on your way to mastering web pages. Now onto the basic's! The majority of web pages are made up of text. If you have ever used a keyboard, you aleady know how to type text in HTML. To type something into your webpage, simply type what you want to appear on your page. You only need to use tags if you want the text to do something special. Some commonly used tags are: <b>This bolds text</b> The tag <b> would make a word display in bold on your page. Since these tags are ended, everything after the ending command would not be in bold. There are a few exceptions that do not need to be ended, but we will come to these later. <br> Inserts a line break; it's just like pressing Enter on a keyboard. <p>This starts a new paragraph. This is very useful for splitting up your text. <i>This makes text in italics.</i> (You need to end this tag.) <u>This underlines text</u> (You need to end this tag.) Font sizes can be changed as well. In HTML the sizes range from 1 (very small) to 7 (very big). To change the size of your font, you need to type: <font size="1">type your text here</font> You must end your font tag or all text typed afterward will be that size. Bullet points are slightly more complicated. In HTML, bullet points are called 'unordered lists', or 'ul' for short. To start bullet points, you need to type <ul>. If you want each bulet point to appear on a new line, you should type <li> before each one. When you have finished all of your bullet points type </ul>. The finished code should look like this: <ul> <li>bulet one <li>bullet two <li>bullet three </ul> Numbered lists use the same principle as creating bullet points, except that you use 'ordered list' or <ol> instead of <ul>. The code for an ordered list would look like this: <ol> <li>point one <li>point two <li>point three </ol> |