object.style.listStyle = "value"; <'list-style'> = <'list-style-position'> || <'list-style-image'> || <'list-style-type'> <'list-style-position'> = inside | outside outside If the list item is a block container, the marker box is blockified and placed outside the principal block box.
<'list-style-image'> = <image> | none <image> = <url> | <gradient> <url> = url( <string> <url-modifier>* ) <string> Specifies a sequence of characters delimited by double quotes (") or single quotes (').
<url-modifier> Changes the meaning or the interpretation of the URL.
<gradient> = <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> <linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> ) deg Degrees. There are 360 degrees in a full circle.
grad Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
rad Radians. There are 2p radians in a full circle.
turn Turns. There is 1 turn in a full circle.
<side-or-corner> = [left | right] || [top | bottom] <color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<repeating-linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> ) deg Degrees. There are 360 degrees in a full circle.
grad Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
rad Radians. There are 2p radians in a full circle.
turn Turns. There is 1 turn in a full circle.
<side-or-corner> = [left | right] || [top | bottom] <color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<radial-gradient()> = radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> ) <ending-shape> Determines whether the gradient's ending shape is a circle or an ellipse.
<size> Determines the size of the gradient's ending shape.
<position> = [ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ] <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<repeating-radial-gradient()> = radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> ) <ending-shape> Determines whether the gradient's ending shape is a circle or an ellipse.
<size> Determines the size of the gradient's ending shape.
<position> = [ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ] <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
none The element has no marker image.
<'list-style-type'> = <counter-style> | <string> | none <counter-style> = <counter-style-name> | <symbols()> <counter-style-name> A <custom-ident> that is not an ASCII case-insensitive match for "none".
<symbols()> = symbols( <symbols-type>? [ <string> | <image> ]+ ) <symbols-type> = cyclic | numeric | alphabetic | symbolic | fixed cyclic Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list.
numeric Interprets the list of counter symbols as digits to a place-value numbering system.
decimal Western decimal numbers (1, 2, 3, ..., 98, 99, 100).
decimal-leading-zero Decimal numbers padded by initial zeros (01, 02, 03, ..., 98, 99, 100).
arabic-indic Arabic-indic numbering (١, ٢, ٣, ٤, ..., ٩٨, ٩٩, ١٠٠).
upper-armenian Traditional uppercase Armenian numbering (Ա, Բ, Գ, ..., ՂԸ, ՂԹ, Ճ).
lower-armenian Lowercase Armenian numbering (ա, բ, գ, ..., ղը, ղթ, ճ).
bengali Bengali numbering (১, ২, ৩, ..., ৯৮, ৯৯, ১০০).
khmer Cambodian/Khmer numbering (១, ២, ៣, ..., ៩៨, ៩៩, ១០០).
cjk-decimal Han decimal numbers (一, 二, 三, ..., 九八, 九九, 一〇〇).
devanagari devanagari numbering (१, २, ३, ..., ९८, ९९, १००).
georgian Traditional Georgian numbering (ა, ბ, გ, ..., ჟჱ, ჟთ, რ).
gujarati Gujarati numbering (૧, ૨, ૩, ..., ૯૮, ૯૯, ૧૦૦).
gurmukhi Gurmukhi numbering (੧, ੨, ੩, ..., ੯੮, ੯੯, ੧੦੦).
hebrew Traditional Hebrew numbering (א, ב, ג, ..., צח, צט, ק).
kannada Kannada numbering (೧, ೨, ೩, ..., ೯೮, ೯೯, ೧೦೦).
lao Laotian numbering (໑, ໒, ໓, ..., ໙໘, ໙໙, ໑໐໐).
malayalam Malayalam numbering (൧, ൨, ൩, ..., ൯൮, ൯൯, ൧൦൦).
mongolian Mongolian numbering (᠑, ᠒, ᠓, ..., ᠙᠘, ᠙᠙, ᠑᠐᠐).
myanmar Myanmar (Burmese) numbering (၁, ၂, ၃, ..., ၉၈, ၉၉, ၁၀၀).
oriya Oriya numbering (୧, ୨, ୩, ..., ୯୮, ୯୯, ୧୦୦).
persian Persian numbering (۱, ۲, ۳, ۴, ..., ۹۸, ۹۹, ۱۰۰).
lower-roman Lowercase ASCII Roman numerals (i, ii, iii, ..., xcviii, xcix, c).
upper-roman Uppercase ASCII Roman numerals (I, II, III, ..., XCVIII, XCIX, C).
tamil Tamil numbering (௧, ௨, ௩, ..., ௯௮, ௯௯, ௧௦௦).
telugu Telugu numbering (౧, ౨, ౩, ..., ౯౮, ౯౯, ౧౦౦).
thai Thai (Siamese) numbering (๑, ๒, ๓, ..., ๙๘, ๙๙, ๑๐๐).
tibetan Tibetan numbering (༡, ༢, ༣, ..., ༩༨, ༩༩, ༡༠༠).
alphabetic Interprets the list of counter symbols as digits to an alphabetic numbering system.
lower-latin Lowercase ASCII letters (a, b, c, ..., z, aa, ab).
upper-latin Uppercase ASCII letters (A, B, C, ..., Z, AA, AB).
lower-greek Lowercase classical Greek (α, β, γ, ..., ω, αα, αβ).
hiragana Dictionary-order hiragana lettering (あ, い, う, ..., ん, ああ, あい).
hiragana-iroha Iroha-order hiragana lettering (い, ろ, は, ..., す, いい, いろ).
katakana Dictionary-order katakana lettering (ア, イ, ウ, ..., ン, アア, アイ).
katakana-iroha Iroha-order katakana lettering (イ, ロ, ハ, ..., ス, イイ, イロ).
symbolic Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list.
disc A filled circle, similar to • U+2022 BULLET.
circle A hollow circle, similar to ◦ U+25E6 WHITE BULLET.
square A filled square, similar to ◾ U+25FE BLACK MEDIUM SMALL SQUARE.
disclosure-open Symbol appropriate for indicating an open disclosure widget.
disclosure-closed Symbol appropriate for indicating a closed disclosure widget.
fixed Runs through its list of counter symbols once, then falls back.
cjk-earthly-branch Han "Earthly Branch" ordinals (子, 丑, 寅, ..., 亥).
cjk-heavenly-stem Han "Heavenly Stem" ordinals (甲, 乙, 丙, ..., 癸).
<string> Specifies a sequence of characters delimited by double quotes (") or single quotes (').
<image> = <url> | <gradient> <url> = url( <string> <url-modifier>* ) <string> Specifies a sequence of characters delimited by double quotes (") or single quotes (').
<url-modifier> Changes the meaning or the interpretation of the URL.
<gradient> = <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> <linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> ) deg Degrees. There are 360 degrees in a full circle.
grad Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
rad Radians. There are 2p radians in a full circle.
turn Turns. There is 1 turn in a full circle.
<side-or-corner> = [left | right] || [top | bottom] <color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<repeating-linear-gradient()> = linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> ) deg Degrees. There are 360 degrees in a full circle.
grad Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
rad Radians. There are 2p radians in a full circle.
turn Turns. There is 1 turn in a full circle.
<side-or-corner> = [left | right] || [top | bottom] <color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<radial-gradient()> = radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> ) <ending-shape> Determines whether the gradient's ending shape is a circle or an ellipse.
<size> Determines the size of the gradient's ending shape.
<position> = [ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ] <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<repeating-radial-gradient()> = radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> ) <ending-shape> Determines whether the gradient's ending shape is a circle or an ellipse.
<size> Determines the size of the gradient's ending shape.
<position> = [ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ] <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<color-stop-list> = <linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]# <linear-color-stop> = <color> && <length-percentage>? <color> Specifies the color using a keyword or a numerical specification.
<length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<linear-color-hint> = <length-percentage> <length-percentage> =
<length> |
<percentage> <length> Specifies the length using a number followed by a unit of measurement.
<percentage> Specifies the percentage using a number followed by a percent sign (%).
<string> Specifies a sequence of characters delimited by double quotes (") or single quotes (').
none The element has no marker string.
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: none;
}
</style>
</head>
<body>
<ul>
<li>none</li>
<li>none</li>
<li>none</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<body>
<button onmouseover="myfunction(innerHTML)">initial</button>
<button onmouseover="myfunction(value)" value="url(/assets/svg/HappyFace.svg)">image</button>
<button onmouseover="myfunction(innerHTML)">none</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
</script>
</body>
</html>
<!doctype html>
<html>
<body>
<button>initial</button>
<button value="url(/assets/svg/HappyFace.svg)">image</button>
<button>none</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
const myelements = document.querySelectorAll("button");
for(let myelement of myelements)
{
let myargument = myelement.innerHTML;
if(myelement.value)
{
myargument = myelement.value;
}
myelement.addEventListener("mouseover", function(){myfunction(myargument)});
}
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
li
{
background-color: yellow;
}
ul
{
list-style: inside;
}
</style>
</head>
<body>
<ul>
<li>inside</li>
<li>inside</li>
<li>inside</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
li
{
background-color: yellow;
}
ul
{
list-style: outside;
}
</style>
</head>
<body>
<ul>
<li>outside</li>
<li>outside</li>
<li>outside</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
li
{
background-color: yellow;
}
</style>
</head>
<body>
<button onmouseover="myfunction(innerHTML)">initial</button>
<button onmouseover="myfunction(innerHTML)">inside</button>
<button onmouseover="myfunction(innerHTML)">outside</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
li
{
background-color: yellow;
}
</style>
</head>
<body>
<button>initial</button>
<button>inside</button>
<button>outside</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
const myelements = document.querySelectorAll("button");
for(let myelement of myelements)
{
myelement.addEventListener("mouseover", function(){myfunction(myelement.innerHTML)});
}
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: hiragana;
}
</style>
</head>
<body>
<ul>
<li>hiragana</li>
<li>hiragana</li>
<li>hiragana</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: hiragana-iroha;
}
</style>
</head>
<body>
<ul>
<li>hiragana-iroha</li>
<li>hiragana-iroha</li>
<li>hiragana-iroha</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: katakana;
}
</style>
</head>
<body>
<ul>
<li>katakana</li>
<li>katakana</li>
<li>katakana</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: katakana-iroha;
}
</style>
</head>
<body>
<ul>
<li>katakana-iroha</li>
<li>katakana-iroha</li>
<li>katakana-iroha</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lower-alpha;
}
</style>
</head>
<body>
<ul>
<li>lower-alpha</li>
<li>lower-alpha</li>
<li>lower-alpha</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lower-greek;
}
</style>
</head>
<body>
<ul>
<li>lower-greek</li>
<li>lower-greek</li>
<li>lower-greek</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lower-latin;
}
</style>
</head>
<body>
<ul>
<li>lower-latin</li>
<li>lower-latin</li>
<li>lower-latin</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: upper-alpha;
}
</style>
</head>
<body>
<ul>
<li>upper-alpha</li>
<li>upper-alpha</li>
<li>upper-alpha</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: upper-latin;
}
</style>
</head>
<body>
<ul>
<li>upper-latin</li>
<li>upper-latin</li>
<li>upper-latin</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
@counter-style mycounterstyle
{
system: additive;
additive-symbols: 6 ⚅, 5 ⚄, 4 ⚃, 3 ⚂, 2 ⚁, 1 ⚀;
suffix: " ";
}
ul
{
list-style: mycounterstyle;
}
</style>
</head>
<body>
<ul>
<li>counter-style-name</li>
<li>counter-style-name</li>
<li>counter-style-name</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: cjk-earthly-branch;
}
</style>
</head>
<body>
<ul>
<li>cjk-earthly-branch</li>
<li>cjk-earthly-branch</li>
<li>cjk-earthly-branch</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: cjk-heavenly-stem;
}
</style>
</head>
<body>
<ul>
<li>cjk-heavenly-stem</li>
<li>cjk-heavenly-stem</li>
<li>cjk-heavenly-stem</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: none;
}
</style>
</head>
<body>
<ul>
<li>none</li>
<li>none</li>
<li>none</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: arabic-indic;
}
</style>
</head>
<body>
<ul>
<li>arabic-indic</li>
<li>arabic-indic</li>
<li>arabic-indic</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: armenian;
}
</style>
</head>
<body>
<ul>
<li>armenian</li>
<li>armenian</li>
<li>armenian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: bengali;
}
</style>
</head>
<body>
<ul>
<li>bengali</li>
<li>bengali</li>
<li>bengali</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: cambodian;
}
</style>
</head>
<body>
<ul>
<li>cambodian</li>
<li>cambodian</li>
<li>cambodian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: cjk-decimal;
}
</style>
</head>
<body>
<ul>
<li>cjk-decimal</li>
<li>cjk-decimal</li>
<li>cjk-decimal</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: decimal;
}
</style>
</head>
<body>
<ul>
<li>decimal</li>
<li>decimal</li>
<li>decimal</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: decimal-leading-zero;
}
</style>
</head>
<body>
<ul>
<li>decimal-leading-zero</li>
<li>decimal-leading-zero</li>
<li>decimal-leading-zero</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: devanagari;
}
</style>
</head>
<body>
<ul>
<li>devanagari</li>
<li>devanagari</li>
<li>devanagari</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: georgian;
}
</style>
</head>
<body>
<ul>
<li>georgian</li>
<li>georgian</li>
<li>georgian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: gujarati;
}
</style>
</head>
<body>
<ul>
<li>gujarati</li>
<li>gujarati</li>
<li>gujarati</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: gurmukhi;
}
</style>
</head>
<body>
<ul>
<li>gurmukhi</li>
<li>gurmukhi</li>
<li>gurmukhi</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: hebrew;
}
</style>
</head>
<body>
<ul>
<li>hebrew</li>
<li>hebrew</li>
<li>hebrew</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: kannada;
}
</style>
</head>
<body>
<ul>
<li>kannada</li>
<li>kannada</li>
<li>kannada</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: khmer;
}
</style>
</head>
<body>
<ul>
<li>khmer</li>
<li>khmer</li>
<li>khmer</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lao;
}
</style>
</head>
<body>
<ul>
<li>lao</li>
<li>lao</li>
<li>lao</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lower-armenian;
}
</style>
</head>
<body>
<ul>
<li>lower-armenian</li>
<li>lower-armenian</li>
<li>lower-armenian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: lower-roman;
}
</style>
</head>
<body>
<ul>
<li>lower-roman</li>
<li>lower-roman</li>
<li>lower-roman</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: malayalam;
}
</style>
</head>
<body>
<ul>
<li>malayalam</li>
<li>malayalam</li>
<li>malayalam</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: mongolian;
}
</style>
</head>
<body>
<ul>
<li>mongolian</li>
<li>mongolian</li>
<li>mongolian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: myanmar;
}
</style>
</head>
<body>
<ul>
<li>myanmar</li>
<li>myanmar</li>
<li>myanmar</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: oriya;
}
</style>
</head>
<body>
<ul>
<li>oriya</li>
<li>oriya</li>
<li>oriya</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: persian;
}
</style>
</head>
<body>
<ul>
<li>persian</li>
<li>persian</li>
<li>persian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: tamil;
}
</style>
</head>
<body>
<ul>
<li>tamil</li>
<li>tamil</li>
<li>tamil</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: telugu;
}
</style>
</head>
<body>
<ul>
<li>telugu</li>
<li>telugu</li>
<li>telugu</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: thai;
}
</style>
</head>
<body>
<ul>
<li>thai</li>
<li>thai</li>
<li>thai</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: tibetan;
}
</style>
</head>
<body>
<ul>
<li>tibetan</li>
<li>tibetan</li>
<li>tibetan</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: upper-armenian;
}
</style>
</head>
<body>
<ul>
<li>upper-armenian</li>
<li>upper-armenian</li>
<li>upper-armenian</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: upper-roman;
}
</style>
</head>
<body>
<ul>
<li>upper-roman</li>
<li>upper-roman</li>
<li>upper-roman</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: "string ";
}
</style>
</head>
<body>
<ul>
<li>string</li>
<li>string</li>
<li>string</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: circle;
}
</style>
</head>
<body>
<ul>
<li>circle</li>
<li>circle</li>
<li>circle</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: disc;
}
</style>
</head>
<body>
<ul>
<li>disc</li>
<li>disc</li>
<li>disc</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: disclosure-closed;
}
</style>
</head>
<body>
<ul>
<li>disclosure-closed</li>
<li>disclosure-closed</li>
<li>disclosure-closed</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: disclosure-open;
}
</style>
</head>
<body>
<ul>
<li>disclosure-open</li>
<li>disclosure-open</li>
<li>disclosure-open</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
ul
{
list-style: square;
}
</style>
</head>
<body>
<ul>
<li>square</li>
<li>square</li>
<li>square</li>
</ul>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
@counter-style mycounterstyle
{
system: additive;
additive-symbols: 6 ⚅, 5 ⚄, 4 ⚃, 3 ⚂, 2 ⚁, 1 ⚀;
suffix: " ";
}
</style>
</head>
<body>
<button onmouseover="myfunction(innerHTML)">initial</button><br>
<button onmouseover="myfunction(innerHTML)">hiragana</button>
<button onmouseover="myfunction(innerHTML)">hiragana-iroha</button>
<button onmouseover="myfunction(innerHTML)">katakana</button>
<button onmouseover="myfunction(innerHTML)">katakana-iroha</button>
<button onmouseover="myfunction(innerHTML)">lower-alpha</button>
<button onmouseover="myfunction(innerHTML)">lower-greek</button>
<button onmouseover="myfunction(innerHTML)">lower-latin</button>
<button onmouseover="myfunction(innerHTML)">upper-alpha</button>
<button onmouseover="myfunction(innerHTML)">upper-latin</button><br>
<button onmouseover="myfunction(value)" value="mycounterstyle">counter-style-name</button><br>
<button onmouseover="myfunction(innerHTML)">cjk-earthly-branch</button>
<button onmouseover="myfunction(innerHTML)">cjk-heavenly-stem</button><br>
<button onmouseover="myfunction(innerHTML)">none</button><br>
<button onmouseover="myfunction(innerHTML)">arabic-indic</button>
<button onmouseover="myfunction(innerHTML)">armenian</button>
<button onmouseover="myfunction(innerHTML)">bengali</button>
<button onmouseover="myfunction(innerHTML)">cambodian</button>
<button onmouseover="myfunction(innerHTML)">cjk-decimal</button>
<button onmouseover="myfunction(innerHTML)">decimal</button>
<button onmouseover="myfunction(innerHTML)">decimal-leading-zero</button>
<button onmouseover="myfunction(innerHTML)">devanagari</button>
<button onmouseover="myfunction(innerHTML)">georgian</button>
<button onmouseover="myfunction(innerHTML)">gujarati</button>
<button onmouseover="myfunction(innerHTML)">gurmukhi</button>
<button onmouseover="myfunction(innerHTML)">hebrew</button>
<button onmouseover="myfunction(innerHTML)">kannada</button>
<button onmouseover="myfunction(innerHTML)">khmer</button>
<button onmouseover="myfunction(innerHTML)">lao</button>
<button onmouseover="myfunction(innerHTML)">lower-armenian</button>
<button onmouseover="myfunction(innerHTML)">lower-roman</button>
<button onmouseover="myfunction(innerHTML)">malayalam</button>
<button onmouseover="myfunction(innerHTML)">mongolian</button>
<button onmouseover="myfunction(innerHTML)">myanmar</button>
<button onmouseover="myfunction(innerHTML)">oriya</button>
<button onmouseover="myfunction(innerHTML)">persian</button>
<button onmouseover="myfunction(innerHTML)">tamil</button>
<button onmouseover="myfunction(innerHTML)">telugu</button>
<button onmouseover="myfunction(innerHTML)">thai</button>
<button onmouseover="myfunction(innerHTML)">tibetan</button>
<button onmouseover="myfunction(innerHTML)">upper-armenian</button>
<button onmouseover="myfunction(innerHTML)">upper-roman</button><br>
<button onmouseover="myfunction(value)" value="'string '">string</button><br>
<button onmouseover="myfunction(innerHTML)">circle</button>
<button onmouseover="myfunction(innerHTML)">disc</button>
<button onmouseover="myfunction(innerHTML)">disclosure-closed</button>
<button onmouseover="myfunction(innerHTML)">disclosure-open</button>
<button onmouseover="myfunction(innerHTML)">square</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
</script>
</body>
</html>
<!doctype html>
<html>
<head>
<style>
@counter-style mycounterstyle
{
system: additive;
additive-symbols: 6 ⚅, 5 ⚄, 4 ⚃, 3 ⚂, 2 ⚁, 1 ⚀;
suffix: " ";
}
</style>
</head>
<body>
<button>initial</button><br>
<button>hiragana</button>
<button>hiragana-iroha</button>
<button>katakana</button>
<button>katakana-iroha</button>
<button>lower-alpha</button>
<button>lower-greek</button>
<button>lower-latin</button>
<button>upper-alpha</button>
<button>upper-latin</button><br>
<button value="mycounterstyle">counter-style-name</button><br>
<button>cjk-earthly-branch</button>
<button>cjk-heavenly-stem</button><br>
<button>none</button><br>
<button>arabic-indic</button>
<button>armenian</button>
<button>bengali</button>
<button>cambodian</button>
<button>cjk-decimal</button>
<button>decimal</button>
<button>decimal-leading-zero</button>
<button>devanagari</button>
<button>georgian</button>
<button>gujarati</button>
<button>gurmukhi</button>
<button>hebrew</button>
<button>kannada</button>
<button>khmer</button>
<button>lao</button>
<button>lower-armenian</button>
<button>lower-roman</button>
<button>malayalam</button>
<button>mongolian</button>
<button>myanmar</button>
<button>oriya</button>
<button>persian</button>
<button>tamil</button>
<button>telugu</button>
<button>thai</button>
<button>tibetan</button>
<button>upper-armenian</button>
<button>upper-roman</button><br>
<button value="'string '">string</button><br>
<button>circle</button>
<button>disc</button>
<button>disclosure-closed</button>
<button>disclosure-open</button>
<button>square</button>
<ul>
<li>list-style</li>
<li>list-style</li>
<li>list-style</li>
</ul>
<script>
function myfunction(myparameter)
{
document.querySelector("ul").style.listStyle = myparameter;
}
const myelements = document.querySelectorAll("button");
for(let myelement of myelements)
{
let myargument = myelement.innerHTML;
if(myelement.value)
{
myargument = myelement.value;
}
myelement.addEventListener("mouseover", function(){myfunction(myargument)});
}
</script>
</body>
</html>