0
can we use all styles and attributes used in div tag in html4 within article tag in html5 ?
in html5 course content i had read that article tag is used mainly as the place of div tag which is from html4 family.
4 odpowiedzi
+ 1
Yes, I think you can, as the article tag is basically a container tag, just like a div.
0
how to use color tag in it ?
0
article { height: 20vh; width: 20vh; color: red; background-color: wheat; }
0
or give the article tag a id="uniqueid" or a class="nameCanBeUsedMultipleTimes" and style it that way.