- 2
unordered list
The disc squre and circle is not present.
3 Réponses
+ 2
why?
+ 1
'disc' is the default value of <li> css attribute 'list-style-type'... so it's present...
Try this:
<style>
ul li:first-child { list-style-type:square; }
ul li:last-child { list-style:circle; } /* you can use the shortcut property */
</style>
<ul>
<li>item list</li>
<li>item list</li>
<li>item list</li>
<li>item list</li>
<li>item list</li>
</ul>
First and last item show the square and the circle in place of the disc ( on the inbetween items ) ^^
- 1
Actually, this is offered in 12 board examination
and which is available in the book sumita arora but not in this app.