This is G o o g l e's cache of http://www.new2html.com/help/Text.shtml.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:iE8u7B4nU9oJ:www.new2html.com/help/Text.shtml+webtv+site:http://www.new2html.com&hl=en&ie=UTF-8


Google is not affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: webtv 

New 2 HTML - Optimize Your WebTV
<p align="center"><font size="5" color="#ff0000"><b><B style="color:black;background-color:#ffff66">WebTV</B> JavaScript Bug Alert</b></font></p> <p align="center"><font size="5" color="#ff0000"><b>Reload Page</b></font></p> <p align="center"><font size="5" color="#ff0000"><b><u>CMD + R for 3 Seconds</u></b></font></p> <br /> <br /> <br /> <p align="center"><font face="verdana bold,arial bold,helvetica,sans-serif" color="#000000" size="4">Computer users, this site is designed by and for the <B style="color:black;background-color:#ffff66">WebTV</B>/MSNTV Internet Terminal and may not display or function as intended for you.</font></p> <font face="verdana bold,arial bold,helvetica,sans-serif" color="#000000" size="4"><br /> <img src="1x.gif" width="1" height="300" border="0" alt="spacer image" /></font>
Top Menu Image Map Sitemap Basic HTML Advanced HTML JavaScript WorkCenter TestBed Jump Box Menus Linkables Tips-n-Tricks What's New? Daily Tip


Text Format Codes

You 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">

    The three font effect's
  • shadow
  • emboss
  • relief
Black text, size 4, NO effectBlack text, size 4, NO effect
Black text, size 4, effect ShadowBlack text, size 4, effect Shadow
Black text, size 4, effect EmbossBlack text, size 4, effect Emboss
Black text, size 4, effect ReliefBlack text, size 4, effect Relief
Black text, size 4, NO effect
Here is an example of each using red text
Here is an example of each using red text
Here is an example of each using red text

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
This is size 2
This is size 3
This is size 4
This is size 5
This is size 6
This is size 7

You can also use heading tags to set size and make text bold.

<h1> Heading size 1 </h1>

Heading size 1

Heading size 2

Heading size 3

Heading size 4

Heading size 5
Heading size 6

You can also align the heading tag - like this:

<h1 align=center> Heading size 1 </h1>

Heading size 1

Heading size 2

Heading size 3

Heading size 4

Heading size 5
Heading size 6


Other Text Format Codes

Here are some other tips for formatting your page text.
  • <b>This will make bold text </b>
  • <blackface>This will be extra bold </blackface>
  • <i>This will be in italics</i>
  • <u>This will be underlined</u>
  • <s>This is Strikethrough </s>
  • <sub>This is subtext</sub>
  • <sup>This is supertext</sup>
You can also mix these codes.Note: Nesting tags will not work on WebTV's 2.6 and 2.6.1 builds, but they do work with all other builds, including the 2.7. <B>This text is bold and underlined.</B>

Align Text and Images

There 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.

<p align=center>

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
your text to the right side of the page. </p>


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