+ 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

22nd Jun 2017, 8:01 AM
DeroG
DeroG - avatar
6 ответов
+ 5
thanks but what if you have more than one article and you want to refer to them separately
22nd Jun 2017, 8:16 AM
DeroG
DeroG - avatar
+ 4
Use a diferent id for each article <article id="art1">... <article id="art2">... or different class
27th Jun 2017, 9:24 AM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar
+ 3
by assigning them with different id name
22nd Jun 2017, 8:18 AM
Vaibhav Tandon
Vaibhav Tandon - avatar
+ 1
#article{ }
22nd Jun 2017, 8:11 AM
Elie Douaihy
Elie Douaihy - avatar
+ 1
for an id we use # and for a class we use .(dot)
22nd Jun 2017, 8:14 AM
Vaibhav Tandon
Vaibhav Tandon - avatar
+ 1
separetly #article{ } #art2{ } multiple id #article , #art2{ }
22nd Jun 2017, 8:26 AM
Elie Douaihy
Elie Douaihy - avatar