Introduktion til HTML-uordnet liste
I dette afsnit med HTML-uordnet liste introducerer vi, hvordan man implementerer lister i HTML. Hvordan beskrives eller vises en uordnet liste? Det er meget enkelt og nemt, de bruges til at beskrive listen over oplysninger i indholdet i alle ordrer (Alle dele af listen forbliver den samme). Listen opretter generelt en gruppe oplysninger, og den genereres på en velstruktureret måde. Og en anden teknik er, at vi kan integrere CSS-stilegenskaber. De tre typer lister, vi kunne bruge til at bringe orden til websiderne. Nedenfor er de forskellige typer:
- Bestilt liste
- Uordnet liste
- Definitionsliste
I denne artikel skal vi gennemgå den usorterede listespecifikation med et eksempel. Den ikke-sorterede liste er en liste, der ikke kræver nogen rækkefølge af nummerering på deres liste, i stedet bruger vi kugler til listeniveauet.
Syntaks af HTML-uordnet liste
Syntaks for den uordnede liste svarer lige til den ordrede liste, som vi oprettede i den forrige artikel. Uordnet liste oprettes ved hjælp af et navngivet element
- element og slutter med
- element.
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana- type = 'disk' - Giver standard bullet-struktur
- type = 'firkant' - Ser ud som solide kassekugler
- type = 'cirkel' - giver hul kassestruktur
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.-
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.-
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas. -
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia-
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia -
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe- Harry
- Hermione
- Ron Weasely
- HTML-blokke
- HTML-listestilarter
- Grundlæggende HTML-tags
- HTML-kommandoer
………..
………..
Eksempel 1
Dette viser, hvordan denne korte vareliste implementeres i en browser.
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Demo on Unordered list
Demo on Unordered list
Ingredients for making of cake
Baking Powder
Flour
Sugar
Coco poder
Produktion:
Dette giver dig resultatet som
Eksempel 2
Uordnet liste med farver og positioner.
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
unordered list Demo2
Unordered Disc
Lion
Tiger
Giraffe
Camel
Top Rhymes
Johny Johny Yes papa
Wheels on the Bus
Baa Baa Black Sheep
Fruits Name List
Avacado
Orange
Pears
Banana
Produktion:
Typer af attributter til HTML-uordnet liste
For at beregne den uordnede liste er der tre primære typer attributter for dette uordnede element. Den uordnede liste bruges, hvor det ikke er påkrævet at repræsentere listerne i nogen specifikke ordrer. De følgende afsnit forklarer de tilhørende attributter og eksempler på det.
Denne attribut giver den type kugler, der skal bruges på listen.
1. Attributtype = 'disk'
Dette er standardtypen, og alle emner markeres som kugler. Her bruger vi type attribut og alle disse attributter understøtter i HTML 3. For at definere under HTML5 skal vi implementere CSS i listestil. Her er et eksempel på en demo.
Eksempel
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Demo on Unordered list Types
Demo on Unordered list Types
This is Program Agenda.
First a Welcome Note
Second We Start with the talks
Opening Speech
Mrs.Claria Winston from Ireland and Eyjolfur From Bank of America.
Tea Break
Last part from the topic Data Lake By Surendran Thomas.
Produktion:
2. Attributtype = 'firkant'
Her er emnerne markeret med firkantede kugler.
Eksempel
Demonstration af HTML-koden med den firkantede kugle indlejret med stilfarve og position.
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
ul (
list-style: square;
)
ul li::before (
content: "\1022";
color: pink;
font-weight: bold;
display: inline-block;
width: 0.8em;
margin-left: -1em;
)
List of top hollywood movies-Square
World Of the wars
Mission Impossible
Independence Day special
Behind enemy lines
Produktion:
3. Attributtype = 'cirkel'
Denne attribut giver hule kugleværdier. Nedenfor er eksemplet på gengivelsescirkel og firkantattribut sammen med de indlejrede lister.
Eksempel
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
EDUCBA List Example
;style>
h3(
color:orange;
)
ul(
list-style: none;
)
ul li::before (
content: "\25AA";
color: brown;
display: inline-block;
width: 1em;
margin-left: -0.8em;
font-weight: bold;
font-size:1rem;
)
List of Mobiles
Redmi Xiami
Iphone
Samsung
Nokia
Mobile Operating System Supports
Android
Windows phone
Samsung
Nokia
Produktion:
Udskiftning af HTML-listen med varer, der kan tilpasses
Dette vil i sidste ende forbedre det overordnede tema og gøre webstedet visuelt godt. Standardkuglerne erstattes af indbygget stil eller kan endda tilpasses ved hjælp af billeder ved hjælp af CSS. Faktisk er der tre stylinglister, der skal bruges i HTML. Her går vi med en liste-stil-type og en liste-stil-billede.
Brug af billedkugle er at gøre listerne mere unikke og at differentiere oplysningerne efter typen, med andre ord for at give præsentationen et look på websiden.
I nedenstående eksempel demonstreres eksemplerne ved hjælp af stilegenskaber mellem listeelementerne.
Eksempel # 1 - Stilegenskaber mellem listeelementerne
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
HTML unordered list with Styles
ul li (
background: red;
)
ul.in.li (
list-style: circle inside none;
color: red;
left: -20px;
position: inside;
text-align: left;
width: 27px;
)
Finland is a Scandinavian Country
Oslo is the capital city
Iceland is known for its beauty, hiking, fishing
Ranked among the chillness country in europe
Produktion:
Dette giver udgangen som
Eksempel 2 - Med billedstil
ul (
list-style-image: url('sqpurple.gif');
)
The list-style- Demo
ul (
list-style-image: url('sqpurple.gif');
)
The list-style- Demo
ul (
list-style-image: url('sqpurple.gif');
)
The list-style- Demo
ul (
list-style-image: url('sqpurple.gif');
)
The list-style- Demo
Harry Potter-tegn:
Produktion:
Konklusion
Nu hvor vi støder på, hvordan man bygger uordnede lister i HTML. Vi har set, hvordan det uordnede blokelement spiller en rolle i oprettelsen af websider med forskellige eksempler og udforsket nogle listefunktioner. Selv dette kan bruges i navigationsmenuer til lodret visning. Oprettelse af en uordnet liste er meget enkel, det er vigtigt at overveje, hvor man kan løse denne tilgang til det bedste bit sted. Med andre ord foretrækker det perfekte dokument at bruge et HTML-listeformat.
Anbefalede artikler
Dette har været en guide til HTML-uordnet liste. Her diskuterer vi syntaks og attributtyper for HTML-uordnet liste med eksempler. Du kan også se på de følgende artikler for at lære mere–