HTML semantics

  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Posts: 865

Post 3+ Months Ago

In the designing of blogs, what would be the best wrapping element for comments?

At first I figured a "section" tag, but reading through w3schools definitions, I'm starting to feel like an "aside" tag would be more accurate, considering the comments would be related to the main blog article.

For content aside from the content it is placed in. The aside content should be related to the surrounding content

For a section in a document. Such as chapters, headers, footers, or any other sections of the document

I keep going back and forth on this. What do you guys think?
  • spork
  • Brewmaster
  • Silver Member
  • spork
  • Posts: 6297
  • Loc: Seattle, WA

Post 3+ Months Ago

I'd be inclined to use <section>. To me, <aside> seems more appropriate for large blockquotes or sections of information that occur within the main content, not after it.
  • joebert
  • Genius
  • Genius
  • User avatar
  • Posts: 13511
  • Loc: Florida

Post 3+ Months Ago

I think it depends on how strict the moderation of comments on the blog will be. If there's strict moderation, preventing side-tracking in the comments, then I'd go with an <aside/>. Otherwise, I'd go for a more generic <section/>.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 18 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.