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>

<cite> but authors name not allowed?

when i read mdn and others site on <cite>, it clearly state that you not allowed to add authors name , just the title; but at 5m27s Guil uses Mark Zuckerberg name inside <cite>.

im a bit confuse, is this ok than or am i missing something?

1 Answer

Steven Parker
Steven Parker
231,269 Points

The proscribed usaged depends on what reference you use. As stated on the MDN documentation page:

It's worth noting that the W3C specification says that a reference to a creative work, as included within a <cite> element, may include the name of the work’s author. However, the WHATWG specification for <cite> says the opposite: that a person’s name must never be included, under any circumstances.

In cases where they disagree, I would tend to go with the W3C; and apparently Guil does also.