basic font tag question

liunx

Guest
Hello o' wizards of html - I have a simple question. Is there a basic html tag I can put in the <body bgcolor="#FFFFFF" text="#000000" link="#000066" vlink="#000066" alink="#000066"> to make the default font Verdana? I've heard there's a default font tag but I can't locate it. <br />
<br />
If not, would it bug the browser if I just started:<br />
<body><font face= verdana size="2"><br />
BLAH BLAH BLAH<br />
TABLE HERE<br />
MORE BLAH<br />
END TABLE HERE<br />
</font></body><br />
<br />
Thanks for the help guys!<br />
-Mike<!--content-->What you suggest should probably work, but...<br />
<br />
<font> is deprecated in html 4.01. w3c (<!-- m --><a class="postlink" href="http://www.w3.org">http://www.w3.org</a><!-- m -->) advices webdesigners to use css (cascading stylesheets) instead. You might want to invest some time in reading up on those. A good starting point could be <!-- m --><a class="postlink" href="http://www.mako4css.com">http://www.mako4css.com</a><!-- m --><!--content-->Option 1.<br />
After your starting BODY tag, try inserting the BASEFONT tag.<br />
<br />
<basefont face="Verdana"><br />
<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlite.com/lite007.shtml">http://www.htmlite.com/lite007.shtml</a><!-- m --><br />
<br />
Option 2.<br />
Try applying a bit of css coding to the HEAD area of your coding that would set the style to your page like so...<br />
<br />
<style type="text/css"><br />
body,p,td {font-family:Verdana;}<br />
</style><br />
<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlite.com/CSS004.shtml">http://www.htmlite.com/CSS004.shtml</a><!-- m --><!--content-->
 
Back
Top