join: new@juude



get alerts for new articles






CLOSE WINDOW

join: new@juude



get alerts for new articles






CLOSE WINDOW
html5

Tables - Data Only


Tables are no longer used for design and layout of the web page but they are still the best option when presenting data.

Obsolete Table Attributes

    cellpadding
    cellspacing
    align
    width
    bgcolor
    border
    frame
    rules

are all obsolete in html5.  Now all styles for the table and its elements should be done in an attached CSS.

Cell Borders

border-collapse: specifies whether the cells have their own border or will share a border with another cell.
CSS property - border-collapse

border-collapse: collapse; -The cells share a border
border-collapse: separate; - The cells have a separate border
border-collapse: inherit; - Same value as the element's parent.