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 HTML Basics Structuring Your Content Grouping Content with <main> and <div>

Alen Tim
Alen Tim
2,129 Points

Why should we use "cite" attribute to indicate the link ?

Why should we use "cite" attribute to indicate the link inside blockquote instead using just "a href" ? Example : Using just a link attribute <a href="https://www.facebook.com/zuck/posts/10101319050523971">Marc Zukerberg</a> but not <cite><a href="https://www.facebook.com/zuck/posts/10101319050523971">Marc Zukerberg</a></cite>

2 Answers

Rachel Varon
seal-mask
.a{fill-rule:evenodd;}techdegree
Rachel Varon
Front End Web Development Techdegree Student 16,723 Points

I believe that using semantic HTML would make it more clear, therefore, by being more specific and adding the "cite" descriptor to a quote, you are giving more information to your code. I also believe it might be useful for accessibility.

Its about being specific and acknowledging other devices that access your site. ex: telling screen readers its cited from where.