Kkiely wrote:
> With HTML
> 1. Why are some font sized set to "12,14,16, etc" but some are set to "1,2,3".
> Is there a preferred way?
> 2. How can I set it so my default font on my page is Arial?
> 3. I heard that even if you have a default font set to Arial on your page that
> has tables that the text in the tables will not obey any global font setting
> you put on the page, is this true? If so, do I have to stick in a a
> "<font="arial"> tag on each cell in the table?
> 4. If you are going to give me a "Use CSS instead" answer, then . . . Can I mix
> CSS and HTML? I am assuming CSS is some sort of an add-on language and not a
> replacement of HTML.
Well, I am, yes, and correct.
HTML was always intended only to display the content clearly regardless
of what browser, OS, resolution, graphic display, etc, the user was
operating... it's just that so many people screwed it up, using <font>
tags, <center> tags, <b> when they really wanted to emphasise something
(<em> denotes content).
HTML was not originally intended to affect the presentation of that
content - it was left strictly up to the user. Webdesigners didn't like
this, so they introduced tags like font, center and b to manipulate the
presentation of the page.
CSS suggests to the user how to display the page. Not only is it in
keeping with the original goals of HTML, it's much easier too! After a
few tutorials (http://www.w3schools.com, <a style='text-decoration: underline;' href="http://www.sitepoint.com," target="_blank">http://www.sitepoint.com,</a> and
<a style='text-decoration: underline;' href="http://www.webmonkey.com" target="_blank">http://www.webmonkey.com</a> should get you started) you will be able to use
CSS to suggest the presentation of your page properly. It is much easier
because you only have to define stuff like paragraph font once, and one
external css file (CSS can be either embedded in the HTML or written as
a .css file) can style thousands of HTML files.
This makes your files smaller, the presentation easier to alter, and the
search engines will love you.
Good luck.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: default fonts - newbie questions