If I want to add some text is it better to use a p element and put it inside the div element?
Yes. Please do that
The same happen when using other tag like
<nav> for navigation.
FCC have an article for semantic element: Semantic HTML5 Elements Explained (freecodecamp.org)
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.