- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Specify all the list properties into a single expression with CSS
The list-style property allows you to specify all the list properties into a single expression.
Example
You can try to run the following code to list all properties like list-style, type, etc in one line:
<html> <head> </head> <body> <ul style = "list-style: inside circle;"> <li>Laptop</li> <li>Desktop System</li> </ul> <ol style = "list-style: outside lower-alpha;"> <li>Laptop</li> <li>Desktop System</li> </ol> </body> </html>
Advertisements