Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Creating HTML Content Use the Navigation Element

Vijayalakhsmi Yeddula
seal-mask
.a{fill-rule:evenodd;}techdegree
Vijayalakhsmi Yeddula
Front End Web Development Techdegree Student 395 Points

Hyperlink References

I'm little confused with the explanation about the following code <header> <a href = "index.html"> <h1>Nick Pattite</h1> <h2>Designer</h2> </a> <header> so, it makes Nick Pattite, and Designer as hyper links here. It creates a Hyperlink reference named "index.html". Why can't I see that reference on the page. So here it should have 3 hyperlinks index.html, Nick Pattite, Designer Each Hyperlink leading to its own respective page. That means we are navigating through these pages, which is the same as the navigation.

2 Answers

Henry .
Henry .
52 Points

Are you saying why you see 2 hyper links Nick Pattite, and Designer and not 3 with index.html? because the <a href="link"> points to where you are going and makes whats inclused in the </a> the hyper link. The href attribute specifies the URL of the page the link goes to.

<a href="www.google.com">CLICK ME TO GO TO GOOGLE</a> This means the text between the <a> tags will be the hyperlinks and href will send them to google

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_a_href

Henry .
Henry .
52 Points

My pleasure !