|
|
The <p> Tag |
|
| The <p> tag is used to signify a paragraph. | |
| By putting your text inbetween the <p> and </p> tags you can specially format that text. This command also tells the browser to treat the text as a paragraph and puts in the paragraph spacing for you. | |
| Here are several examples of the <p> command: | |
|
<p>this is paragraph 1</p><p> this is paragraph 2</p> comes out as this is paragraph 1 this is paragraph 2 |
|
|
<p align="center">this centered</p><p align="right"> this is right aligned</p> comes out as this is centered this is right aligned |
The <font> Tag | |
| The <font> is a really useful and fun tag to use for coloring, changing the font of, or resizing text. | |
| Just put the text that you want changed inbetween the <font> and </font> tags | |
| Here is a list of attributes(properties of the text) that you can change: | |
| color -- this value can be any color your monitor can support | |
| face -- this is the font type of your text(i.e.: Helvetica or Arial). | |
| size -- the values for this are 1 through 7, default value is 3. | |
example: |
|
|
<font size="5" color="forestgreen" face="helvetica">this is large green text</font> would be displayed as: this is large green text |
|
The Header Tags | |
| The header tags are easy ways to create titles. | |
| To use a header tag, put the text you want enlarged inbetween the <h1> and </h1> tags. | |
| If you use <h2></h2> instead of <h1></h1>, you will get a much smaller title | |
| you can use h1 to h6(the size of the title text gets smaller as the number after 'h' gets larger) | |
example: |
|
<h1>Header1</h1> <h2>Header2</h2> <h3>Header3</h3> <h4>Header4</h4> would be displayed as:Header1Header2Header3Header4 |
|
|
|
|