Computer Science, asked by mwasil8d, 8 months ago

mention the values that can be assigned to the list - style - type - property of an ordered list

Answers

Answered by chkomalath
9

CSS list-style-type Property

Example

Set some different list styles:

ul.a {list-style-type: circle;}

ul.b {list-style-type: square;}

ol.c {list-style-type: upper-roman;}

ol.d {list-style-type: lower-alpha;}

More "Try it Yourself" examples below.

Definition and Usage

The list-style-type specifies the type of list-item marker in a list.

Default value: disc

Inherited: yes

Animatable: no. Read about animatable

Version: CSS1

JavaScript syntax: object.style.listStyleType="square"

Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property

list-style-type 1.0 4.0 1.0 1.0 3.5

Note: Internet Explorer/Edge and Opera 12 and earlier versions do not support the values: cjk-ideographic, hebrew, hiragana, hiragana-iroha, katakana, and katakana-iroha.

CSS Syntax

list-style-type: value;

Property Values

Value Description Play it

disc Default value. The marker is a filled circle

armenian The marker is traditional Armenian numbering

circle The marker is a circle

cjk-ideographic The marker is plain ideographic numbers

decimal The marker is a number

decimal-leading-zero The marker is a number with leading zeros (01, 02, 03, etc.)

georgian The marker is traditional Georgian numbering

hebrew The marker is traditional Hebrew numbering

hiragana The marker is traditional Hiragana numbering

hiragana-iroha The marker is traditional Hiragana iroha numbering

katakana The marker is traditional Katakana numbering

katakana-iroha The marker is traditional Katakana iroha numbering

lower-alpha The marker is lower-alpha (a, b, c, d, e, etc.)

lower-greek The marker is lower-greek

lower-latin The marker is lower-latin (a, b, c, d, e, etc.)

lower-roman The marker is lower-roman (i, ii, iii, iv, v, etc.)

none No marker is shown

square The marker is a square

upper-alpha The marker is upper-alpha (A, B, C, D, E, etc.)

upper-greek The marker is upper-greek

upper-latin The marker is upper-latin (A, B, C, D, E, etc.)

upper-roman The marker is upper-roman (I, II, III, IV, V, etc.)

initial Sets this property to its default value. Read about initial

inherit Inherits this property from its parent element. Read about inherit

More Examples

Example

This example demonstrates all the different list-item markers:

ul.a {list-style-type: circle;}

ul.b {list-style-type: disc;}

ul.c {list-style-type: square;}

ol.d {list-style-type: armenian;}

ol.e {list-style-type: cjk-ideographic;}

ol.f {list-style-type: decimal;}

ol.g {list-style-type: decimal-leading-zero;}

ol.h {list-style-type: georgian;}

ol.i {list-style-type: hebrew;}

ol.j {list-style-type: hiragana;}

ol.k {list-style-type: hiragana-iroha;}

ol.l {list-style-type: katakana;}

ol.m {list-style-type: katakana-iroha;}

ol.n {list-style-type: lower-alpha;}

ol.o {list-style-type: lower-greek;}

ol.p {list-style-type: lower-latin;}

ol.q {list-style-type: lower-roman;}

ol.r {list-style-type: upper-alpha;}

ol.s {list-style-type: upper-greek;}

ol.t {list-style-type: upper-latin;}

ol.u {list-style-type: upper-roman;}

ol.v {list-style-type: none;}

ol.w {list-style-type: inherit;}

sorry for more explanation please mark as brainleist for my typing

Answered by marwatahir67
4

Answer:decimal (defult)

upper roman

lower roman

upper alpha

lower alpha

Explanation:this is the proper answer for this question especially if those who r searching this from pisq this is the proper answer hope it helps u❤

Similar questions