Introduction à la liste HTML non ordonnée
Dans cette section Liste HTML non ordonnée, nous vous présentons comment implémenter des listes en HTML. Comment décrire ou afficher une liste non ordonnée? C'est très simple et facile, ils sont utilisés pour décrire la liste des informations dans le contenu dans toutes les commandes (toutes les parties de la liste restent les mêmes). La liste, en général, crée un groupe d'informations et elle est générée de manière bien structurée. Et une autre technique consiste à intégrer une propriété de style CSS. Les trois types de listes que nous pourrions utiliser pour mettre de l'ordre dans les pages Web. Voici les différents types:
- Liste ordonnée
- Liste non ordonnée
- Liste des définitions
Dans cet article, nous allons passer en revue la spécification de liste non ordonnée avec un exemple. La liste non ordonnée est une liste qui ne nécessite aucun ordre de numérotation dans leur liste, mais nous utilisons des puces pour les niveaux de liste.
Syntaxe de la liste HTML non ordonnée
La syntaxe de la liste non ordonnée est similaire à la liste ordonnée que nous avons créée dans l'article précédent. La liste non ordonnée est créée à l'aide d'un élément nommé
- élément et se termine par
- élément.
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' - Donne la structure des puces par défaut
- type = 'square' - Ressemble à des puces à boîte pleine
- type = 'circle' - Donne une structure de boîte creuse
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
- Blocs HTML
- Styles de liste HTML
- Balises HTML de base
- Commandes HTML
………..
………..
Exemple 1
Cela montre comment cette courte liste d'éléments est implémentée dans un navigateur.
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
Production:
Cela vous donnera le résultat comme
Exemple # 2
Liste non ordonnée avec des couleurs et pour les positions.
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
Production:
Types d'attributs pour la liste HTML non ordonnée
Pour figurer la liste non ordonnée, il existe trois principaux types d'attributs pour cet élément non ordonné. La liste non ordonnée est utilisée lorsqu'il n'est pas nécessaire de représenter les listes dans des commandes spécifiques. Les sections suivantes expliquent les attributs associés et leurs exemples.
Cet attribut donne le type de puces à utiliser dans la liste.
1. Type d'attribut = «disque»
Il s'agit du type par défaut et tous les éléments sont marqués comme des puces. Ici, nous utilisons l'attribut type et tous ces attributs sont pris en charge dans HTML 3. Pour définir sous HTML5, nous sommes censés implémenter CSS de style liste. Voici un exemple de démonstration.
Exemple
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.
Production:
2. Type d'attribut = «carré»
Ici, les éléments sont marqués de puces carrées.
Exemple
Démonstration du code HTML avec la puce carrée intégrée avec la couleur de style et la 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
Production:
3. Type d'attribut = «cercle»
Cet attribut donne des valeurs de puces creuses. Vous trouverez ci-dessous l'exemple d'attribut de cercle et de carré de rendu ainsi que les listes imbriquées.
Exemple
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
Production:
Remplacement des éléments de liste HTML par des images personnalisables
Cela améliorerait finalement le thème général et rendrait le site Web visuellement bon. Les puces par défaut sont remplacées par un style natif ou peuvent même être personnalisées à l'aide d'images à l'aide de CSS. En fait, il existe trois listes de styles à utiliser en HTML. Nous allons ici avec une image de type liste et une image de style liste.
Utiliser la puce d'image est de rendre les listes plus uniques et de différencier les informations par le type, en d'autres termes, de donner à la présentation un aspect dans la page Web.
Dans l'exemple ci-dessous, les exemples sont illustrés par des propriétés de style entre les éléments de la liste.
Exemple # 1 - Propriétés de style entre les éléments de la liste
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
Production:
Cela donnera la sortie comme
Exemple # 2 - Avec un style d'image
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
Personnages de Harry Potter:
Production:
Conclusion
Maintenant que nous découvrons comment créer des listes non ordonnées en HTML. Nous avons vu comment l'élément de bloc non ordonné joue un rôle dans la création de pages Web avec différents exemples et exploré certaines fonctionnalités de liste. Même cela peut être utilisé dans les menus de navigation pour s'afficher verticalement. La création d'une liste non ordonnée est très simple, il est essentiel de considérer où corriger cette approche pour le meilleur emplacement de bit. En d'autres termes, le document parfait préfère utiliser un format de liste HTML.
Articles recommandés
Cela a été un guide pour la liste HTML non ordonnée. Nous discutons ici de la syntaxe et des types d'attributs pour la liste non ordonnée HTML avec des exemples. Vous pouvez également consulter les articles suivants pour en savoir plus–