Different fonts

How can I replace the default font in html or javascript with a new one. I would like to use TagsXtreme as a default for one of my pages but it is not working with the code I use. Do I need to link to this file inside a tag or what. Help.<br />
<br />
Jason<!--content-->you could use a style sheet or font tags eg<br />
<br />
<font size="24" color="blue" face="Arial Unicode MS">WHATEVER</font><br />
<br />
style sheet<br />
<!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m --><!--content-->The FONT element was depricated back in 1997 and in favour of CSS (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/">http://www.w3.org/TR/REC-CSS2/</a><!-- m -->).<!--content-->yeah we know that, answer this if it was depreciated as you say how coem browsers still recognise it, if they wanted to get rid off it then latest browesrs wouldnt read it<!--content-->Originally posted by 96turnerri <br />
yeah we know that, answer this if it was depreciated as you say how coem browsers still recognise it, if they wanted to get rid off it then latest browesrs wouldnt read it It was depricated by the W3C (<!-- m --><a class="postlink" href="http://www.w3.org/">http://www.w3.org/</a><!-- m -->) on 18 December 1997 when the HTML 4.0 (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-html40-971218/">http://www.w3.org/TR/REC-html40-971218/</a><!-- m -->) became a recommendation. And see <!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-html40-971218/present/graphics.html#edef-FONT">http://www.w3.org/TR/REC-html40-971218/ ... #edef-FONT</a><!-- m --> for the offical Act of Deprication.<br />
<br />
Deprication means that something was determined to have been a bad idea. Authors are asked to stop using it and browser manufacturers are permitted to stop supporting it. The will often, though, continue to support it to keep old web sites running.<br />
<br />
And note, HTML 4.0 has itself been replaced by HTML 4.01 (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/">http://www.w3.org/TR/html4/</a><!-- m -->) and the FONT (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/present/graphics.html#edef-FONT">http://www.w3.org/TR/html4/present/grap ... #edef-FONT</a><!-- m -->) element remains depricated.<!--content-->touchee not sure if the spelling is right lol :D<!--content-->Thanks to all.<br />
<br />
I have tried using regular font tags but they just did not work. I have not used CSS that much but it seems pretty easy after looking at the website given. I will use this to input different fonts.<br />
<br />
<br />
Thanks,<br />
Jason<br />
<br />
<!-- m --><a class="postlink" href="http://www.empirefonts.com">http://www.empirefonts.com</a><!-- m --><!--content-->not a problem m8 good luck :cool:<!--content-->Originally posted by jbullard <br />
How can I replace the default font in html or javascript with a new one. <br />
<br />
I'm not sure we have enough info, but here's something that nobody mentioned. If the font you designate isn't installed on the user's computer, the browser will use whatever it sees fit to use, and that font may or may not look anything at all like what you intended.<!--content-->Originally posted by Aronya1 <br />
I'm not sure we have enough info, but here's something that nobody mentioned. If the font you designate isn't installed on the user's computer, the browser will use whatever it sees fit to use, and that font may or may not look anything at all like what you intended. <br />
<br />
And when you validate your CSS it does check it see if you have a default font family set up that is considered one of the widely used fonts just incase your first/second/etc. option isn't on the person's computer. I believe it flags it if you specifiy a font family type. I can't recall not setting a font and then getting the warning.<!--content-->
 
Back
Top