Tuesday, December 18, 2018

TABLES ATTRIBUTES IN HTML.

<TABLE ATTRIBUTES>


  • ALIGN:-Horizontal alignment is controlled by the align attribute. It can be set to left, center or right.
  • VALIGN:-Controls the vertical alignment of cell contents. It accepts the values Top, Middle or Bottom.
  • WIDTH:-Sets the width to a specific number of pixels or to percentage. If width is not set specified the data cell is adjusted based on cell data.
  • CELLPADDING:-This attribute controls the distance between data in a cell and boundaries of cell.
  • CELLSPACING:-Controls the spacing between adjacent cells.
  • COLSPAN:-This attribute is useful when one row of the table needs to be a certain number of columns wide.
  • ROWSPAN:-The attribute works in same way as COLSPAN except that it allows a cell to take more than one row.

No comments:

Post a Comment

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...