This is G o o g l e's cache of http://www.new2html.com/help/Quote.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:2lWT3Nej77sJ:www.new2html.com/help/Quote.shtml+webtv+site:http://www.new2html.com+.shtml&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 
These terms only appear in links pointing to this page: shtml

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


"To Quote or Not To Quote"

I have noticed a lot of confusion over the use, or non-use of quotation marks in HTML coding. The WebTV browser is very forgiving and will display all commands without quotation marks, but this a bad habit to get into. This information might help clear up some of the questions on the subject.

I have done a little research on this, and according to strict HTML standards, whenever you use an attribute it's value should appear within quotation marks. But today's browsers usually don't need them to understand the attribute commands.

So instead of:

<font color="red" size="4">

Simply use:

<font color=red size=4>

It works just as well on all browsers and saves a few key strokes, as well as a few unnecessary bytes on your page. However, there are times when you should use quotation marks. You should use them with:

  • Values that begin with a plus sign or minus sign.
    • <font size="+2">

  • When using multiple words such as you use in an alt tag.
    • ...alt="image name here"

  • When using hexadecimal values for colors.
    • color="#000000"

  • When using URLs with slashes in anchor or image tags. This includes when using relative linking.
    • <a href="http://wtv-zone.com/driver/">
    • <img src="images/picture.jpg">
These tags can be used in combination with each other, yet notice that the height and width attributes do not require quotation marks.

<img src="http://www.URL/images/picture.jpg" width=100 height=100 alt="Name of Image">

Always remember that if you miss one of the quotation marks, it will be enough to invalidate the entire code. If you have problems with a tag, always count quotation marks first because it's easy to miss one.

There is 1 visitor online



Search New2HTML.com powered by FreeFind