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 One Solution

Is there a reason to use <blockquote> instead of <q> here?

I did this:

<p><q>I've attended Front End DevConf 5 times. I look forward to another intensive day of learning and sharing!</q></p> <p>- <cite>Cody McCoder</cite></p>

Adam Doe
Adam Doe
30,840 Points

I believe blockquotes are block level elements while q tags are inline elements. There is some additional information here:

https://www.quackit.com/html_5/tags/html_q_tag.cfm

1 Answer

Andres Chaves
Andres Chaves
3,462 Points

<blockquote> is block level element, normally it starts and end with new line when displayed in the browser. <q> is inline element,normally it displays without line break.