Line At A Time
Lesson 7: Links
Links Connect your page to another one.
1<p>Learn more at
2 <a href="https://example.com">my pizza site</a>.</p>
Terminal
Every line, explained
<p>Learn more at
A paragraph can start on one line and continue on the next; the browser doesn't care about your line breaks, only the tags.
<a href="https://example.com">my pizza site</a>.</p>
<a> is an anchor: a link. It introduces something new: an attribute. Attributes are extra settings written inside the opening tag as name="value". Here href (hypertext reference) holds the address to jump to. The text between <a> and </a> is what you click. This is the tag that puts the "web" in web pages: pages linking to pages.