w3resource
HTML exercises

HTML CSS Exercise - Target attribute begins wth a certain value

HTML CSS Exercise - 23

In this exercise you will In this exercise you will Target attribute begins wth a certain value. You have to select elements having attributes 'data-name' and value starting with 'w3r'

On completion, the page will look like following

HTML target attribute begins with a certain value

Use the following editor to complete the exercise.

See the solution in the browser

See the Pen html css common editor by w3resource (@w3resource) on CodePen.


Previous:Select elements by attribute. You have to select elements having attributes 'data-name=w3r'
Next: Set count and insert it before elements.

What is the difficulty level of this exercise?



New Content: Composer: Dependency manager for PHP, R Programming