Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

HTML Guide logoHomeThe Basics of HTMLTables, Frames and MultimediaHTML Extensions, Forms and ScriptsTips, Tricks and ToolsTips, Tricks and ToolsShop for books on HTML

In this section...
The Basics
Graphics
Miscellaneous
Internet Marketing Center
  • COLOR ME SIMPLE: Do not use to many colors.
  • Preformat: You can format your text using the little known <PRE>...</PRE> tag. Usually, if you write your text like this
     or      like         this,         with       a     lot    
     of       space      between        the        words,
    it will display the same. However, the <Pre> tag will tell the browser to display the spaces and the line breaks, even without the <BR> tags. This is especially useful in formatting tables.
  • COOL SHADES: <Table>, <TR>, and <TD> tags can all accept the BGCOLOR attribute. You can use this to create impressive background color effects within your table:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  • DIVIDE AND CONQUER: The <DIV> tag is helpful for aligning elements in a table. It works better than just align="center" or align="left", because it's not subject to cell padding, which can throw off a true alignment. The code will look like this: <DIV Align="center">...</DIV>
  • RUNOFF: The <NOBR> tag forces a block of text to remain on a single line, even if it scrolls off to the side of the screen. Within the <NOBR> tag, you can use the <WBR> tag, which tells the browser to insert an optional line break at the tag location if needed. Suggested use: Suppose you have a hyphenated word, such as Waldorf-Astoria, and you want the Waldorf and the Astoria to be on the same line. To do this, simply insert the <NOBR> tag right before the hyphenated word, and immediately follow it with the <WBR> tag. Close the <NOBR> tag (with </NOBR> of course) right after the second word. The browser will then put a line break, if needed, only before the first word.
  • BLOCK THAT QUOTE: Use the <Blockquote> tag to indent a paragraph from the left margin. Use nested <Blockquote> tags for deeper indentations without using tables.
  • YOU'VE BEEN FRAMED: Don't use frames unless you have a good reason. Use them if you want to achieve multiple pages in one view, if you need multiple scrolling regions, or if you want to keep the navigation static.
    Make your site accessible to those without frame support. Paste the HTML source of your first page into the <NOFRAMES> tag, and make it possible to navigate your entire from that page.

 

Mailing List - Receive weekly website design tips right to your mailbox FREE   






Send mail to iddo-h@geocities.com with questions or comments about this web site.
Copyright © 1999 The Complete HTML Guide