Thursday, April 1, 2010

Mastering HTML code part 3

Formatting

                                                                                                                                               
TagDescriptionsample
<blockquote> </blockquote>used for arrange text on a picture or a tag
sample of text in a blockqoute format
<ol></ol>Ordered list (used with <li>)
  • item 1

  • <ul> </ul>Unordered list (used with<li>)
  • Item 1

  • <li>elemen List
    <dd> </dd>Definition List
    sample text
    <dt>Definition Term
    Sample Text

    <dd>definition description
    Sample text
    <p></p>ParagrafText
    <br>new line
    Sample
    <hr>Horizontal Line
    <center> </center>centering Elemen
    Sample

    Table

                                                                                       
    TagAtributDescription
    <table></tabel>border
    cellpadding
    cellspacing
    width
    name
    id
    title
    bgcolor
    background
    align
    height
    valign
    tabel setting
    <tr></tr>height
    bgcolor
    background
    align
    valign
    title
    make new line
    <td></td>height
    bgcolor
    background
    align
    valign
    title
    colspan
    rowspan
    make column
    <th></th>height
    width
    bgcolor
    background
    align
    valign
    colspan
    rowspan
    Table Header. automatic bold and center
    <tbody></tbody>height
    width
    align
    valign
    bgcolor
    background
    format for cell with tag
    <colgroup> </colgroup>height
    width
    align
    valign
    bgcolor
    background
    colspan
    format fo column