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 Marking Up a Blog Post

Jerzy Kozak
PLUS
Jerzy Kozak
Courses Plus Student 17,049 Points

Should we use <aside> with <q> element inside?

I know it'll work, but on MDN you can read: "Do not use the <aside> element to tag parenthesized text, as this kind of text is considered part of the main flow."

2 Answers

<aside> means something like a optional information.

<h1>Cooking Rice</h1> <p>To cook rice, make sure you have water etc...</p> <aside>Make sure you have enough water.</aside>

<aside> means only that this is a optional information. Without that information you would still be able to cook the rice. The other thing is that <q> stands for qotation. Why shouldn't you use that inside a <aside>?

<q> is used when you quote someone, for example.

<p>Information about usage of quotation elements. <q cite="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q">The HTML <q> element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element.</q></p>

If you quote someone you need to "Copy Paste" the same information, any changes can cause problems with law. If you quote someone you basicly say "Mozilla said.....". If it's not true... you're lying not them.

Jack Cummins
Jack Cummins
17,417 Points

You should do whatever MDN says.