Wprowadzenie do listy nieuporządkowanej HTML
W tej sekcji Listy nieuporządkowanej HTML przedstawiamy sposób implementowania list w HTML. Jak opisać lub wyświetlić nieuporządkowaną listę? Jest to bardzo proste i łatwe, służą do opisu listy informacji w treści w dowolnych zamówieniach (wszystkie części listy pozostają takie same). Zasadniczo lista tworzy grupę informacji i jest generowana w uporządkowany sposób. Inną techniką jest to, że możemy osadzić właściwość stylu CSS. Trzy rodzaje list, których moglibyśmy użyć, aby uporządkować strony internetowe. Poniżej znajdują się różne typy:
- Uporządkowana lista
- Lista nieuporządkowana
- Lista definicji
W tym artykule omówimy przykład nieuporządkowanej listy. Lista nieuporządkowana to lista, która nie wymaga żadnej kolejności numerowania na liście, zamiast tego używamy punktorów dla poziomów listy.
Składnia listy nieuporządkowanej HTML
Składnia listy nieuporządkowanej jest po prostu podobna do listy uporządkowanej, którą utworzyliśmy w poprzednim artykule. Lista nieuporządkowana jest tworzona przy użyciu elementu o nazwie
- element i kończy się na
- 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 = 'disc' - Daje domyślną strukturę wypunktowania
- type = 'square' - Wygląda jak pełne kule
- type = 'circle' - Daje strukturę pustego pudełka
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- Złupić
- Hermiona
- Ron Weasely
- Bloki HTML
- Style list HTML
- Podstawowe tagi HTML
- Polecenia HTML
………..
………..
Przykład 1
To pokazuje, jak ta krótka lista przedmiotów jest implementowana w przeglądarce.
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
Wynik:
To da ci wynik jak
Przykład nr 2
Lista nieuporządkowana z kolorami i pozycjami.
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
Wynik:
Typy atrybutów dla listy nieuporządkowanej HTML
Aby obliczyć listę nieuporządkowaną, istnieją trzy podstawowe typy atrybutów dla tego nieuporządkowanego elementu. Lista nieuporządkowana jest używana tam, gdzie nie jest wymagane reprezentowanie list w konkretnych zamówieniach. W poniższych sekcjach wyjaśniono powiązane atrybuty i ich przykłady.
Ten atrybut określa typ punktorów, które mają być używane na liście.
1. Typ atrybutu = „dysk”
Jest to typ domyślny i wszystkie elementy są oznaczone jako pociski. Tutaj używamy atrybutu type i wszystkie te atrybuty obsługują w HTML 3. Aby zdefiniować w HTML5, mamy zaimplementować CSS w stylu listy. Oto przykładowe demo.
Przykład
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.
Wynik:
2. Typ atrybutu = „kwadrat”
Tutaj przedmioty są oznaczone kwadratowymi kulami.
Przykład
Demonstracja kodu HTML z kwadratową wypunktą osadzoną w kolorze stylu i pozycji.
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
Wynik:
3. Typ atrybutu = „koło”
Ten atrybut podaje puste wartości punktorów. Poniżej znajduje się przykładowy atrybut renderowania okręgu i kwadratu wraz z zagnieżdżonymi listami.
Przykład
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
Wynik:
Zastępowanie elementów listy HTML obrazami, które można dostosowywać
To ostatecznie poprawi ogólny motyw i sprawi, że strona będzie dobra wizualnie. Domyślne pociski są zastępowane rodzimym stylem, a nawet można je dostosowywać za pomocą obrazów za pomocą CSS. W rzeczywistości w HTML są trzy listy stylów. Tutaj idziemy z obrazem typu listy i obrazem stylu listy.
Korzystanie z punktora graficznego ma na celu uczynienie list bardziej unikatowymi i różnicowanie informacji według typu. Innymi słowy, nadanie prezentacji wyglądu na stronie internetowej.
W poniższym przykładzie przykłady pokazano za pomocą właściwości stylu między elementami listy.
Przykład # 1 - Właściwości stylu między elementami listy
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
Wynik:
To da wynik jak
Przykład # 2 - Ze stylem obrazu
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
Postacie z Harry'ego Pottera:
Wynik:
Wniosek
Teraz, gdy odkryliśmy, jak budować nieuporządkowane listy w HTML. Widzieliśmy, jak nieuporządkowany element blokowy odgrywa rolę w tworzeniu stron internetowych z różnymi przykładami i badaliśmy niektóre funkcje listy. Nawet tego można użyć w menu nawigacyjnym do wyświetlania w pionie. Tworzenie listy nieuporządkowanej jest bardzo proste, bardzo ważne jest, aby rozważyć, gdzie naprawić to podejście dla najlepszego miejsca bitowego. Innymi słowy, idealny dokument woli używać formatu listy HTML.
Polecane artykuły
Jest to przewodnik po liście nieuporządkowanej HTML. W tym miejscu omawiamy przykłady składni i typów atrybutów Listy nieuporządkowanej HTML. Możesz także zapoznać się z następującymi artykułami, aby dowiedzieć się więcej -