- Trending Categories
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
Create a bordered list without bullets using CSS
To create a bordered list without bullets, you can try to run the following code. The list-style-type is set to none to remove bullets to a list
Example
<!DOCTYPE html> <html> <head> <style> ul { background-color: orange; padding: 10px 20px; list-style-type: none; border: 2px solid black; } </style> </head> <body> <p>Countries</p> <ul> <li>India</li> <li>US</li> <li>Australia</li> </ul> </body> </html>
Output
Advertisements