should have seen something like this last week what does do? stands for table row and starts a new...
TRANSCRIPT
LINKS
Tables
Should have seen something like this
last week
Tables
What does <tr> do?
<tr> stands for table row and starts
a new row in the table
Tables
What does <td> do?
<td> stands for table data, and
starts a new cell in the row
Tables
What does colspan=‘3’ do?
That specific cell will take up 3
columns
What have I done wrong?
Should be…
I forgot to end both table rows with a </tr>
What have I done wrong?
Should be…
Content needs to go between <body> and </body>
What have I done wrong?
Should be…
Attributes need quotations around them ( either a ‘ or “ )
Links
Why do we want to links? So we can see more than just 1 page at a time
Creating more pages is better than having a lot of content on one page People can find what they want a lot easier!
You’ve definitely used them before … but if you’ve forgotten they sometimes look like this…
Links
To make a hyperlink you need to use an <a> tag and </a> around what you want users to click on
My example asks users to click the text “here…” but you can also make images hyperlinks!
Links
The href attribute is the hypertext reference … or in English – the destination page.
Remember how you made pathnames for our images using the src attribute?
This should be easier as all our pages are in the top folder so we should just write the file name for the href
More information
More information @ W3Schools http://www.w3schools.com/html/html_links.asp
Task Open up the Link Worksheet presentation