Default Page Font

Beginner question: How do you set a default font for a page using HTML
3.0? I know how to set the font for each line of text, but I'm sure
there's a correct way to set a default font. The font does not change in
size or weight throughout the page.

Advertisements

mcp6453 <> wrote:
> Beginner question: How do you set a default font for a page using
> HTML 3.0?

Using a linked style sheet.

But the question reveals that you really need to read an HTML tutorial,
_especially_ if you just read one and it taught you HTML 3.0 - which is
an incomplere draft that expired in 1995. It was never approved, still
less implemented. So you can't really use HTML 3.0 anywhere, except to
the extent that it coincides with what has actually been implemented.

In HTML as implemented, and as defined in HTML 3.2 and HTML 4, you could
use <basefont face="...">, but its effect has been vaguely defined and
inconsistently implemented. So just forget it.

A simple way of setting the default font face is this (it means using a
style sheet embedded into HTML): add the following into the <head> part
of your document:

Advertisements

In article <>, says...
> Beginner question: How do you set a default font for a page using HTML
> 3.0? I know how to set the font for each line of text, but I'm sure
> there's a correct way to set a default font. The font does not change in
> size or weight throughout the page.

Short answer is you don't, the user will decide.

The long answer is use CSS. Go to www.w3schools.com and take the 30
minutes to run through the tutorial for CSS.

Jukka K. Korpela wrote:
>
> mcp6453 <> wrote:
>
> > Beginner question: How do you set a default font for a page using
> > HTML 3.0?
>
> Using a linked style sheet.
>
> But the question reveals that you really need to read an HTML tutorial,
> _especially_ if you just read one and it taught you HTML 3.0 - which is
> an incomplere draft that expired in 1995. It was never approved, still
> less implemented. So you can't really use HTML 3.0 anywhere, except to
> the extent that it coincides with what has actually been implemented.
>
> In HTML as implemented, and as defined in HTML 3.2 and HTML 4, you could
> use <basefont face="...">, but its effect has been vaguely defined and
> inconsistently implemented. So just forget it.
>
> A simple way of setting the default font face is this (it means using a
> style sheet embedded into HTML): add the following into the <head> part
> of your document:
>
> <style type="text/css">
> body { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
> </style>
>
> Adjust the font list as desired. You don't need to list several fonts,
> but if you do, a browser uses the first one in the list that is available
> on the system.

"Titus A Ducksass - AKA broken-record" <> wrote in message
news:...
> On Sat, 21 Aug 2004 12:03:26 GMT, mcp6453 <>
> wrote:
>
> >Beginner question: How do you set a default font for a page using HTML
> >3.0? I know how to set the font for each line of text, but I'm sure
> >there's a correct way to set a default font. The font does not change in
> >size or weight throughout the page.
> Why bother?
> People like me turn off designer fonts and sizes and use our own css
> instead so that we can read a site using fonts and sizes that we want
> to use not what some stupid designer wants us to use.

you, and the three other people who you say are "like you" in your example,
represent such a miniscule demographic that you hardly make a compelling
argument for not changing fonts.

On Sat, 21 Aug 2004 12:03:26 GMT, mcp6453 <>
wrote:
>Beginner question: How do you set a default font for a page using HTML
>3.0? I know how to set the font for each line of text, but I'm sure
>there's a correct way to set a default font. The font does not change in
>size or weight throughout the page.
Why bother?
People like me turn off designer fonts and sizes and use our own css
instead so that we can read a site using fonts and sizes that we want
to use not what some stupid designer wants us to use.

--

Never, under any circumstances, take a sleeping pill and a laxative on
the same night.

In article <cg7llm$jq7$>, says...
> > Why bother?
> > People like me turn off designer fonts and sizes and use our own css
> > instead so that we can read a site using fonts and sizes that we want
> > to use not what some stupid designer wants us to use.
> you, and the three other people who you say are "like you" in your example,
> represent such a miniscule demographic that you hardly make a compelling
> argument for not changing fonts.

In article <>, says...
> >> > Why bother?
> >> > People like me turn off designer fonts and sizes and use our own css
> >> > instead so that we can read a site using fonts and sizes that we want
> >> > to use not what some stupid designer wants us to use.
> >> you, and the three other people who you say are "like you" in your example,
> >> represent such a miniscule demographic that you hardly make a compelling
> >> argument for not changing fonts.
> >Did I wake up in some bizzaro world? 0_o
> When you are going blind, it is very important to be able to change
> the font and the contrast and colour and size and and and ....

You completely missed the boat on this one. I was commenting on Karls
reply, he is usually a proponent, his remark made me think otherwise.
--
WebcastMaker
Webcasting for freehttp://www.webentations.com

On Sat, 21 Aug 2004 10:48:09 -0400, WebcastMaker <>
wrote:
>In article <cg7llm$jq7$>,
> says...
>> > Why bother?
>> > People like me turn off designer fonts and sizes and use our own css
>> > instead so that we can read a site using fonts and sizes that we want
>> > to use not what some stupid designer wants us to use.
>
>> you, and the three other people who you say are "like you" in your example,
>> represent such a miniscule demographic that you hardly make a compelling
>> argument for not changing fonts.
>
>Did I wake up in some bizzaro world? 0_o

When you are going blind, it is very important to be able to change
the font and the contrast and colour and size and and and ....

--

Never, under any circumstances, take a sleeping pill and a laxative on
the same night.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!