A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3resource.com/html-css-exercise/style-the-element-which-is-not-empty.php below:

Website Navigation


HTML CSS Exercise Style Elements: Style the element which is not empty

HTML CSS Exercise - Style the element which is not emptyLast update on June 20 2025 13:02:53 (UTC/GMT +8 hours) HTML CSS Exercise - 21

In this exercise you will Style the element which is not empty.

On completion, the page will look like following

See the solution in the browser

Go to:

PREV :Style first and the last element.
NEXT : Select elements by attribute. You have to select elements having attributes 'data-name=w3r'

Use the following editor to complete the exercise.

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


What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4