+ 4
If <article> replaces <div id="article">, then how do you refer to it in an external css stylesheet
will you use .article or #article
6 Respuestas
+ 5
thanks
but what if you have more than one article and you want to refer to them separately
+ 4
Use a diferent id for each article
<article id="art1">...
<article id="art2">...
or different class
+ 3
by assigning them with different id name
+ 1
#article{
}
+ 1
for an id we use #
and for a class we use .(dot)
+ 1
separetly
#article{
}
#art2{
}
multiple id
#article , #art2{
}