homepage Welcome to WebmasterWorld Guest from 54.205.105.23
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Use of HTML tag...
Is this correct?
GWJ



 
Msg#: 183 posted 4:03 pm on Jan 13, 2001 (gmt 0)

I have a body tag that reads like this...

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000080" vlink="#800080" BASEFONT font face="Verdana, Arial, Helvetica, sans-serif">

Am I using the correct syntax for setting the basefont to set the font face? I realize that I can use CSS. Just curious.

TIA,

Brian

 

tedster

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 183 posted 7:49 pm on Jan 13, 2001 (gmt 0)

I don't use the BASEFONT tag. No matter what the "correct" code is, the only thing you can depend on the visitor's browser actually executing consistently is the SIZE attribute.

It's a very weakly supported tag. For instance, even though the W3C [w3.org] standard beginning with HTML3.2 was that the end tag was forbidden, nevertheless Netscape would not execute the tag unless a closing tag was included. Also in Netscape, the tag does not affect the contents of table cells -- so if you use tables for layout you've got complications.

My understanding is that the tag should stand alone, rather than being included as an attribute within the BODY tag.

SOURCES:
ZDNet Tag Library [zdnet.com]
Microsoft Developer News [msdn.microsoft.com]
HTMLHelp [htmlhelp.com]

GWJ



 
Msg#: 183 posted 12:58 pm on Jan 16, 2001 (gmt 0)

Tedster,

Yet again my thanks. I am taking a C.I.W. course. In the prep course taught by someone who stated that <!-- can ony go in the head. Guess I should have taken her statement with a grain. Just thought I could cut out some unwanted tags/weight.

Thanks again. Man I love this place,

Brian

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved