+ 1

Can we add two class to a single tag?

For example: <p class="large" class="italic"> This is a paragraph shown in large and italic. </p> can we do that?

3rd Aug 2016, 7:17 PM
VctEspiritu
VctEspiritu - avatar
5 Answers
+ 1
you can add class like this ex: <p class="large italic">text inside</p>
4th Aug 2016, 8:40 AM
JUSTIN BIGIRIMANA
0
I agree with you justin but then you styling in css then you call like p.large and p.italic
5th Aug 2016, 4:00 AM
sunil balyan
sunil balyan - avatar
0
anna
5th Aug 2016, 7:05 PM
facebook
0
http://ogle.com/ServiceLogin?hl=ms&passive=true&continue=https:/wow RM0. BOTS reminder: 200 goldpoints at RM2/week(Excl. GST). Auto renewal unless you cancel the subscription. To cancel, send STOP BOTS to 27117. ogle.com/ServiceLogin?hl=ms&passive=true&continue=https:/wow woksyop. RM0. BOTS reminder: 200 goldpoints at RM2/week(Excl. GST). Auto renewal unless you cancel the subscription. To cancel, send STOP BOTS to 27117.
5th Aug 2016, 7:06 PM
facebook
- 1
do no give space between p and class
5th Aug 2016, 4:01 AM
sunil balyan
sunil balyan - avatar