@danielmrz-dev
Posted
Hello GreenCitrus6!
You mean that div
with the text? I think that in this case the div
tag does the job, but since you're looking for a tag with semantic mening, I'd use the section
tag.
I use aside
for sidebars and content that are not part of the main content, but might be related to it.
I hope it helps!
By the way, great job!
Marked as helpful
@GreenCitrus6
Posted
@danielmrz-dev
Hi Daniel!
I see, so not all containers necessarily need to be semantic.
Then it would be best to think of div
as the default container and to use semantic tags when something specifically meets the specifications?
Thank you for the comment!
@danielmrz-dev
Posted
@GreenCitrus6
Something like that. The div
container has no semantic value, so you can say it's the default container. You're gonna use it on most projects along with the semantic tags, but the idea is not to replace the semantic ones with divs. 😊