First I'll start with telling you about the basics of html. It stands for Hyper Text Markup Language. When starting from scratch, you typically have this sort of format below:
|
<html> <head> <title>Insert Title Here</title> </head> <body> <p> Insert what you want on your website (paragraphs, pictures, etc.) here. In this case, we have a small paragraph in simple text. </body> <html> |
The <html>...</html> always encloses the entire html document.
In between <title>...</title> is what the text will be at the very top of the window. In the <body>...</body> section, this is where you tell the computer what you want to appear in the web page. All the text, paragraphs, headers, tables, links, and other stuff that you want to appear on the web page will be written in this area. Right before you start a paragraph, you'll want to put <p> right before it. |
If you want to see what the code to the left box above will display, click here, and note the “Insert Title Here” text at the very top of the window when you click on that link.
Did you do it? What do you think? Okay, so it's not much to look at with just one paragraph. But if you stick with me, we'll learn more stuff along the way.
| html code | resulting effect |
|---|---|
| <i>Italicized Text</i> | Italicized Text |
| <b>Bold Text</b> | Bold Text |
| <u>Underlined Text</u> | Underlined Text |
| <tt>Typewriter Text</tt> | Typewriter Text |
| <font size="1">This is font size 1</font> | This is font size 1 |
| <font size="2">This is font size 2</font> | This is font size 2 |
| <font size="3">This is font size 3</font> | This is font size 3 |
| <font size="4">This is font size 4</font> | This is font size 4 |
| <font size="5">This is font size 5</font> | This is font size 5 |
| <font size="6">This is font size 6</font> | This is font size 6 |
| <h1>This is heading size 1</h1> | This is heading size 1 |
| <h2>This is heading size 2</h2> | This is heading size 2 |
| <h3>This is heading size 3</h3> | This is heading size 3 |
| <h4>This is heading size 4</h4> | This is heading size 4 |
| <h5>This is heading size 5</h5> | This is heading size 5 |
| <h6>This is heading size 6</h6> | This is heading size 6 |
| <font color="red">Red Text</font> | Red Text |
| <font color="orange">Orange Text</font> | Orange Text |
| <font color="yellow">Yellow Text</font> | Yellow Text |
| <font color="green">Green Text</font> | Green Text |
| <font color="blue">Blue Text</font> | Blue Text |
| <font color="purple">Purple Text</font> | Purple Text |
| html code | resulting effect | ||||
|---|---|---|---|---|---|
|
|||||
|
|||||
|
|||||
| html code | resulting effect | ||||
|---|---|---|---|---|---|
|
|||||
|
|||||
This will quote a block of text as a separate paragraph like this, indented on both the left and right sides. Note: blockquotes don't work to well in tables, so that's why I had to show you this example without one.Some normal text below the blockquote goes here.
html code<table border=3 width=450 cellpadding=3 cellspacing=3 align="center"> <caption>Table captions appear above or below the table (the default is above).</caption> <tr> <th>Table Header For the First Column</th> <th>Table Header For the Second Column</th> <th>Table Header For the Third Column</th> </tr> <tr> <td>Something in the 1st Column.</td> <td>Something in the 2nd Column</td> <td>Something in the 3rd Column</td> </tr> </table> |
||||||
effect
|