unordered list | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 2

unordered list

The disc squre and circle is not present.

19th Jan 2017, 8:12 PM
Ashay Tamrakar
Ashay Tamrakar - avatar
3 Respostas
+ 2
why?
19th Jan 2017, 8:16 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 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 ) ^^
19th Jan 2017, 11:36 PM
visph
visph - avatar
- 1
Actually, this is offered in 12 board examination and which is available in the book sumita arora but not in this app.
19th Jan 2017, 8:21 PM
Ashay Tamrakar
Ashay Tamrakar - avatar