Course Content

  • Lecture-27_list-style
  • Lecture-27_list-style-image
  • Lecture-27_list-style-position
  • Lecture-27_list-style-type

Course Content

FAQs

The
    ,
      , and
    • tags can all use the list-style feature. The list-style is applied to elements that have the display: list-item attribute. You can supply one or all of the values (list-style-type, list-style-position, and list-style-image values) when using the list-style property, and they can be provided in any sequence.

For an ordered list, the default list-style-type value is decimal, but for an unordered list, the default is disc. The list-style-type property accepts the following values: Discs are arranged in an ad hoc manner (default)

The list-style-type CSS property specifies the list item element's marker (such as a disc, character, or custom counter style).

The list style is controlled by the list-style attribute in CSS. This property is a shorthand notation for three other properties: list-style-type, list-style-position, and list-style-image.

list-style is a shortcut for setting the properties list-style-type, list-style-position, and list-style-image all in one declaration. The shorthand version for formatting your list is list-style. The indicator to the left, such as none, disc, decimal, and so on, is referred to as list style type.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere