LINKS
NEW TAGS:
Regular links link to the top of a page. To link to a spot lower on your page, you create an anchor with a name in front of some text.
- <a name="bob">The user will go to this text.
Providing a hypertext reference to an anchor tag creates links.
- <a href="page.html"> Text inside here will be linked.</a>
To link to an anchor on another page, you add the anchor name at the end of the URL:
- <a href="page.html#bob"> Text inside here will be linked.</a>
To link an image:
- <a href="page.html"><img src="images/portrait.jpg"></a>
To create an email link:
- <a href="mailto:email@website.com">Email me feedback</a>
ORDERED LIST
<ol> - This will indent your text so your can create a numbered list
<li> - Use this to insert number one in front your item
<li> - Use this to automagically increment the number in front of each item
</ol> - This will end your list indenting
UNORDERED LIST
<ul> - This will indent your text so you can create a bulleted list
<li> - Use this to insert a bullet in front of each item
<li>- Use this to insert a bullet in front of each item
</ul> - This to end your list indenting.
EXERCISE: