HTML & CSS FoundationsLesson 10Free preview
Links & Navigation
This lesson is part of Intro to HTML & CSS · All levels
Summary
Links are the heart of the web. This lesson discusses the anchor element, the href attribute, the absolute versus relative link, as well as the nav element for navigation. You also learn to link inside pages and practice safe when opening links in a new tab.
Key points
- Links are created with <a href="...">link text </a>
- Href absolute contains the full address, relative to the path relative to the file
- Target blank should be accompanied by a noopener for safety reasons.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.