|
WebTV JavaScript Bug Alert
Reload Page
CMD + R for 3 Seconds
Computer users, this site is designed by and for the WebTV/MSNTV Internet Terminal and may not display or function as intended for you.
Text Format CodesYou can do some fun things with just a little HTML knowledge. As always, you must start a HTML document with <HTML> in the top left corner. It must be the very first thing your browser sees when it comes to your page.After each command there will be a closing tag. It will have a backslash after the first bracket, as with </font> There are several tags that we can use to format text. The most commonly used are the <font> codes. These can be used to easily change the size, color or effect of the text. The font tag has three attributes that are usable on WebTV: size, color, and effect. Here is a font tag using size and color, but you can use just one, two or all three if you wish: <font color=red size=4>Text color is red, size is 4</font> You can use a color name or HEX number (we will get into HEX codes in later lessons). Another font attribute is effect. This is a WebTV only code and it will be ignored by all other browsers. These three effects are often best seen on backgrounds of the same, or close to, the text color, as seen in the examples below. To add the effect attribute to a font tag it will look like this: <font color="red" size="4" effect="emboss">
There are other attributes that will not work for WebTV, but we will come back to those in latter lessons so as not to confuse you. Font Sizes
This is size 1 You can also use heading tags to set size and make text bold. <h1> Heading size 1 </h1>
Heading size 1Heading size 2Heading size 3Heading size 4Heading size 5Heading size 6You can also align the heading tag - like this: <h1 align=center> Heading size 1 </h1> Heading size 1Heading size 2Heading size 3Heading size 4Heading size 5Heading size 6Other Text Format CodesHere are some other tips for formatting your page text.
Align Text and ImagesThere are several ways to center items on your page. If you would like the entire page to be centered, you can simply add <center> just after the body tag and </center> just before the closing /body tag. Anything between the center tags will then be centered.Another way to center just a part of the page text is to add the center attribute to the paragraph tag. This text will be centered on your web page, and will remain centered until you close the paragraph with the closing tag. </p>
<p align=right> The paragraph tag can also be used to align Another good way to align a section of your page, is to use the division tag. <div align=center> Text or images placed here will be aligned to the center.</div> <div align=right> This causes text or images to show at the right</div>
There is 1 visitor online
| ||||||||||
|
Search New2HTML.com
powered by FreeFind |
|
|