Search:The WebTripod   
Lycos.com | Angelfire.com | WhoWhere.com | MailCity.com | Hotwired.com | HotBot.comAll Sites... 
tripod  
Tripod's HTML Tips
  • Overview
  • Basic Page Setup
  • Meta & Header Tags
  • Colors and Body Tags
  • Formatting
  • Links
  • Graphical Elements
  • Text
  • Forms
  • Tables
  • Frames
  • Filenames
  • Sound, Movies and Midis
  • Managing Subdirectories
  • FTP or Uploading Files
  • File and Mime Types
  • Image Maps



  • Send in my tip
    Tables


    31.) HTML tables

    HTML tables are an advanced way to lay out information in your page. They give you more exact control over placement of text and images.

    <table></table> Creates a table

    <tr></tr> Sets off each row in a table

    <td></td> Sets off each cell in a row

    <th></th> Sets off the table header (a normal cell with bold, centered text)


    Table Attributes
    <table border=#> Sets width of border around table cells

    <table cellspacing=#> Sets amount of space between table cells

    <table cellpadding=#> Sets amount of space between a cell's border and its contents

    <table width=# or %> Sets width of table - in pixels or as a percentage of document width

    <tr align=?> or <td align=?> Sets alignment for cell(s) (left, center, or right)

    <tr valign=?> or <td valign=?> Sets vertical alignment for cell(s) (top, middle, or bottom)

    <td colspan=#> Sets number of columns a cell should span (default=1)

    <td rowspan=#> Sets number of rows a cell should span (default=1)

    <td nowrap> Prevents the lines within a cell from being broken to fit
    Previous Page       Next Page
      © Tripod Inc. Tripod ® is a registered servicemark of Tripod, Inc., a Lycos Company. All rights reserved.
    Advertise with Tripod