{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HTML4WebHosting - ANNOUNCEMENTS Instructor Nelson...

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

View Full Document Right Arrow Icon
ANNOUNCEMENTS Instructor: Nelson Padua-Perez ([email protected]) Class Web Site: http://www.cs.umd.edu/class/fall2011/cmsc122/ No posting of code in the forum Note: If you copy a link from the internet, avoid including the “ “. Just copy the link and user your editor to add quotes. 1
Background image of page 1

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

View Full Document Right Arrow Icon
HTML TABLE To define a table us the <table> tag By default borders are not visible Using CSS to see borders Tags <tr> </tr> defines a row <td></td> defines a data element <th></td> defines a header data element <caption> </caption> Must be inserted immediate after the <table> tag Example: TableNoBorders.html Example: TableWithBorders.html 2
Background image of page 2
BLOCK VS INLINE ELEMENTS Block vs. inline elements Begin on new lines whereas inline elements don’t Block elements examples <p>, headings, lists, tables, division (<div>) Inline elements <a>, <img> Block elements may contain other block elements, inline elements and data. Some block elements may not contain other block elements Some elements must appear within block elements 3
Background image of page 3

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

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}