First of all I am quite new here and to HTML/CSS but so far I am enjoying it to the fullest. I have read a freecodecamp article about semantic HTML. The article advises to replace div elements as much as possible with elements like header, article and so on.
Is it considered best practice to also assign those semantic elements class and id attributes where needed or should these elements remain clear of attributes and put those attributes in the elements children?
I would love to hear from you!