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

Callum Anderson
Callum Anderson
8,837 Points

Purpose of citing a quote?

I understand that adding <cite> tags to a quote source is marking up the semantics of the page, but exactly which purpose does it serve? It doesn't display at the 'front-end' to the viewer of the page, without adding anchor tags.

Is it something to do with SEO, such as cross-site referencing statistics?

1 Answer

Steven Parker
Steven Parker
230,274 Points

The <cite> tags are used to identify the source of a quote. According to the MDN page it must include either a title or URL of a reference work. The content inside the tags will typically be displayed in italics by the browser. If used with a URL it does not in itself create a link, and for that reason I would not expect it to be considered a cross-site reference by search engines.