Question discussion

Which of the following selector selects all elements of E that have the attribute attr that end with the given value?

287356Medium 1 reply 1,643 views
28
Which of the following selector selects all elements of E that have the attribute attr that end with the given value?
  • AE[attr^=value]
  • BE[attr$=value]
  • CE[attr*=value]
  • Dnone of the mentioned
Correct answer: B

Discussion 1

0
CCommunity
E[attr$=value]

Example: p[title$="!"] {color: red;}