5. Links <a href=“http://www.google.com”>This is a link</a> href attribute required Specifies destination of the link Content of element acts as a label for the link. In the browser the label appears with an underline to indicate you can click on it
6. Links Anchors are inline elements May only contain text and other inline elements. <a href=“http://www.google.com”>This is a link</a> <a href=“http://www.google.com”><imgsrc=“…” /></a>
7. Links: href attribute href attribute provides the address of the page (its URL) to the browser 2 ways to specific URL
8. Links: href attribute <a href=“http://www.google.com”>This is a link</a> Absolute URL Provide the full URL for the document, including the protocol (http://)
9. Links: href attribute <a href=“test.html”>This is a link</a> Relative URL Can be used when you are linking to another document on your own site (i.e., on the same server).
14. Tables Rows tr = table row Cells: th = table header td = table data Actual content goes into cells
15. Tables What about columns? The number of columns in a table is determined by the number of cells in each row Make sure you have the same number of cells in each row!