CSCI 121 - Lecture 4 - Links
Topics Covered
- <a> - HTML links, aka hyperlinks
- Use the <a> element to define a link.
- Use the href attribute to define the link address.
- Links may be local or remote.
- Links may be stylished to change behavior as viewer hovers, visits...
- Use the target attribute to define where to open the linked document.
- Use the <img> element (inside <a>) to use an image as a link.
- Use the <id> attribute along with href attribute to link to the bookmarks on a page.
Sample Page
- Sample page for the lecture here.
Instructor's Notes
* Note: Definitions provided by w3schools.com