0

Do the new HTML5 content tags such as <header>,<article>, <aside>, <footer> etc support the Class and ID elements that <div> did

I know it's a very basic question, but do the new HTML5 content tags support the same elements as the <div> tag they are supposed to replace? For example in HTML4 we could have <div class="header"> or <div id="article1">, can we still use these in the new tags?

9th Oct 2016, 4:01 PM
Patrick Cage
1 Odpowiedź
+ 1
Yes, Off course.
30th Oct 2016, 8:13 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar