0

Span

I did one code (its on my profile), and I would like some help. We were supposed to color intertext and i made it as it is but I used a lot of span instead of CSS. I need some guidance. Here is the link: https://code.sololearn.com/WpSLYSMmYb2R/#html

12th Oct 2019, 1:25 PM
Ana Bošnjaković
Ana Bošnjaković - avatar
4 ответов
+ 1
If you have multiple spans with the same attributes, choose a class name and add class="<yourclassname>" to their tags. Then, in their CSS put '.<yourclassname> { <your attributes> } Is this what you needed?
12th Oct 2019, 2:15 PM
Russ
Russ - avatar
+ 3
If I were you, I would not use the style tag because it has the highest priority and you may have difficulties if you want to change colors, use classes.
12th Oct 2019, 2:17 PM
Anna/Аня
Anna/Аня - avatar
+ 1
Russ thats much easier. Thank you.
12th Oct 2019, 3:26 PM
Ana Bošnjaković
Ana Bošnjaković - avatar
+ 1
@Anna Thanks for the advice .
12th Oct 2019, 3:48 PM
Ana Bošnjaković
Ana Bošnjaković - avatar