UpTest > Mobile Technologies > Mobile Web Authoring Test

Test: Mobile Web Authoring Test

Question 28: Prev Next
What will happen if the following style is applied to a span?

span[hello="Debra"][goodbye="Sherry"] { color: blue; }
None of the above will occur if the given style is applied to a span.
All span elements that have hello as an attribute will have their value set to Debra, and all elements that have goodbye as an attribute will have their value set to Sherry.
The selector will match all span elements whose hello attribute has exactly the value Debra OR whose goodbye attribute has exactly the value Sherry.
The selector will match all span elements whose hello attribute has exactly the value Debra AND whose goodbye attribute has exactly the value Sherry.
Please login to submit your answer.