Should have seen something like this last week What does do? stands for table row and starts a new...

15
LINKS

Transcript of Should have seen something like this last week What does do? stands for table row and starts a new...

Page 1: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

LINKS

Page 2: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Tables

Should have seen something like this

last week

Page 3: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Tables

What does <tr> do?

<tr> stands for table row and starts

a new row in the table

Page 4: Should have seen something like this last week What does do? 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

Page 5: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Tables

What does colspan=‘3’ do?

That specific cell will take up 3

columns

Page 6: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

What have I done wrong?

Page 7: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Should be…

I forgot to end both table rows with a </tr>

Page 8: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

What have I done wrong?

Page 9: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Should be…

Content needs to go between <body> and </body>

Page 10: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

What have I done wrong?

Page 11: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

Should be…

Attributes need quotations around them ( either a ‘ or “ )

Page 12: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

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…

Page 13: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

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!

Page 14: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

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

Page 15: Should have seen something like this last week What does do? stands for table row and starts a new row in the table.

More information

More information @ W3Schools http://www.w3schools.com/html/html_links.asp

Task Open up the Link Worksheet presentation