|
|
|
Is coding not your thing? |
HTML Code TutorialThe Font Tag<font></font>Pre-HTML 4.0 versions and most WYSIWYG editors use the code shown below to set font attributes. The method though still acceptable adds a considerable amount of extra code to an HTML page. Extra code means larger slower loading pages. Larger pages mean more bandwidth consumption and higher web hosting rates. Even in the year 2006 many popular website building tools still use this antiquated method of font definition. To move your website into the current era of web development, use Style Sheets for setting font attributes in your pages. Not only will it make your pages smaller, but it will also make them easier to edit and revise. See the page on Style Sheets. The pre-HTML 4.0 code for the font tag: Using style sheets the code in the body section would be: The attributes for the font tag were:
HTML 4.0 and FontsCSS replaces these attributes with:
Font attributes are specified using embedded, linked or inline style sheets. Choosing FontsMany novices get carried away when they begin choosing font faces or families for their pages. The fonts that appear on your web page when viewed by a surfer are actually determined by the visiting browser. If the surfer's system doesn't have the requested font, the browser substitutes one that is on the system. It is best to stick to the basic fonts that are included with most Operating Systems.
Though the choices might seem bland, in most cases pages will be viewed by visitors as the page builder intends. |
Contents Table of ContentsIntroduction Page Structure Basic HTML PageDoctype The Body Tag The Header Tag The Division Tag Horizontal Rule Anchor Tag Anchor Tag - Intradocument Anchor Tag - Image Using Borders The ID Attribute Meta Tags Text Controls Style SheetsWorking With Fonts The Paragraph Tag Paragraphs-Images Using Lists The Pre Tag Line Break Tag Tables Basics of TablesColspan Forms Form BasicsCheck Boxes Text Boxes Selection Boxes Frames Basic FramesTarget and Scrolling Search Engines Miscellaneous Buttons with CSSUsing Color Color Chart Using Images Using Templates Uploading HTML pages. HTML-CSS Quizzes |
|
Copyright © 2008 - Net Success 2000 Plus Inc - Somerset KY 42502 |