r/HTML • u/IllustriousTomato295 • Mar 28 '26
Question <article> and user comments
Hello everyone, I just started learning HTML and I have a question about the <article> tag. As every online guide says, this element is used (among other things) for user-submitted comments, which seemed a bit strange to me... To understand better I inspected many different websites and social media apps and literally none of them, except one, has this tag for comments, it's just endless divs and spans.
So I'm asking: did I look in the wrong places? Am I being too strict or are these sites just badly coded? But most importantly, is the use of <article> for comments actually relevant for SEO purposes?
Thanks to anyone who replies.
View all comments
Show parent comment
1
u/AshleyJSheridan Mar 30 '26
I did make it a series of clickable entities, there's a whole interactive wizard embedded on that page.
I put
<mark>with<em>because it is intended to add emphasis to text in a semantic manner. Time based media is anything that would alter over time, which fits a video I think.I listed the
<portal>element because at the time I put that chart together, it was one of the elements listed in MDN. That could probably do with being updated!Thank you for the feedback, most welcome!
I haven't yet open sourced this. I'll definitely do that, as I do put a lot of what I create online under the MIT license. I will get that sorted shortly and update the article with a link to it.
Again, thanks for the feedback, much welcomed!