Css: An Overview 9. Many Selectors, Many Properties


#1


CSS: An Overview. 9. Many selectors, many properties


Set background of span to yellow. What selector do I use?


Replace this line with your code.


#2

You will have to use the tag-selector
which in the case of the <span>-tag
would be using span

In your CSS file you would have

span {
   background.......
}

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors
https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Simple_selectors
https://developer.mozilla.org/en-US/docs/Web/CSS/background-color


#3

ok thanks. I think there was something wrong with the processor, because I
used span and it wouldnt work at first


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.