Lecture+06+-+More+Advanced+HTML

Lecture+06+-+More+Advanced+HTML - CS 170 Lecture 6: And yet...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 170 Lecture 6: And yet more HTML Kristian Stout stouty@rci.rutgers.edu Office : IN: Livingston Student Center, A lounge near the rock and the commuter lounge. Office Hours: TTH 5:30 6:30 Tables Tables are grids of data laid out in rows of cells rows are horizontally aligned collections of cells cells contain the actual display data created using the <table></table> tags common attributes: width border cellspacing cellpadding bgcolor background (image) Tables can have captions using the <caption></caption> tag Tables (cont) Rows are created with <tr></tr> eg: <table> <tr></tr> </table> attr: bgcolor, background Cells are created with <td></td> eg: <table><tr> <td>Data!</td> </tr> </table> attr: bgcolor, colspan, rowspan Column headings are created in first row with <th></th> instead of <td></td> <table> <tr> <th>A heading</th> </tr> <tr> <td>Data!</td> </tr> </table> Controlling Cells Within Tables Each cell of a table can have different properties like background color/width/rowspan...
View Full Document

Page1 / 21

Lecture+06+-+More+Advanced+HTML - CS 170 Lecture 6: And yet...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online