CSS list-style-position (HTML ul tag)

Notes:

CSS list-style-position property:
It is used to specify the position of the bullet symbol with respect to list item’s border area.
Values: outside | inside

Example code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>CSS Demo</title>
<style type="text/css">
ul > li
{
border:1px solid red;
}
</style>
</head>
<body>
<ul style="list-style-type:none;
list-style-image:url('checkmark.png');
list-style-position:outside;">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
</body>
</html>

Interview Questions: