List – Shorthand property in HTML and CSS

By: Prof. Dr. Fazal Rehman | Last updated: March 3, 2022

List – Shorthand property in HTML and CSS

In this tutorial, we will learn the code of  “List – Shorthand property in HTML and CSS”.

Code of  “List – Shorthand property in HTML and CSS”

<html> <head> <style> ul { list-style: square; font-size: 30px; color: purple; } </style> </head> <body> <ul> <li>Tea</li> <li>Coffee</li> <li>Coca-Cola</li> </ul> </body> </html>

The output of  “List – Shorthand property in HTML and CSS”

List - Shorthand property in HTML-CSS
Figure: List – Shorthand property in HTML-CSS

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials