HTML exercises

CSS Properties: How to specify all the list properties in one declaration ?

Go to Exercise page


HTML Code:

<!DOCTYPE html>
<title>How to specify all the list properties in one declaration</title>
<style type="text/css">
.one {
  list-style: circle;
.two {
  list-style: square inside;
<p><strong>w3resource Tutorial</strong></p>
<ul class="one">
List 1
<ul class="two">
List 2

Live Demo:

See the Pen list-style-answer by w3resource (@w3resource) on CodePen.

See the solution in the browser

Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo
Yes Yes Yes Yes Yes

Go to Exercise page

What is the difficulty level of this exercise?

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