HTML CSS Exercise: Target attribute begins with a certain value


HTML Code:

<!doctype html>
<title>HTML CSS Exercise - Target attribute begins with a certain value</title>
<div class="container" data-name="w3resource">Web developemnt tutorials.</div>
<div class="container" data-name="w3r">HTML, CSS, JS, PHP...</div>

Live Demo:

See the Pen target-attribute-begins-wth-a-certain-value-answer by w3resource (@w3resource) on CodePen.

Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo

What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.

Follow us on Facebook and Twitter for latest update.