Въведение в списъка с неподредени HTML
В тази секция на списъка с HTML непореден ред представяме как да реализираме списъци в HTML. Как да опишем или покажем нередовен списък? Много е просто и лесно, те се използват за описание на списъка с информация в съдържанието във всякакви поръчки (Всички части от списъка остават същите). Като цяло списъкът създава група информация и тя се генерира по добре структуриран начин. И друга техника е, че можем да вградим свойство в стил CSS. Трите типа списъци, които бихме могли да използваме, за да наредим ред в уеб страниците. По-долу са различните видове:
- Подреден списък
- Непореден списък
- Списък на дефинициите
В тази статия ще прегледаме спецификацията на нерегламентирания списък с пример. Непоредният списък е списък, който не изисква никакъв ред на номериране в списъка им, вместо това използваме куршуми за нивата на списъка.
Синтаксис на списък с неподредени HTML
Синтаксисът за неупореден списък е точно подобен на подредения списък, който създадохме в предишната статия. Списъкът без поръчка се създава с помощта на елемент с име
- елемент и завършва с
- елемент.
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' - дава структура на куршуми по подразбиране
- type = 'square' - Изглежда като твърди кутии
- type = 'circle' - Дава куха структура на кутията
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- грабя
- Хърмаяни
- Ron Weasely
- HTML блокове
- HTML стилове на списък
- Основни HTML тагове
- HTML команди
………..
………..
Пример №1
Това показва как този списък с кратки елементи се реализира в браузър.
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
изход:
Това ще ви даде резултат като
Пример №2
Неподреден списък с цветове и за позициите.
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
изход:
Видове атрибути за списък с неподредени HTML
За да фигурирате неупореден списък, има три основни типа атрибути за този непореден елемент. Неподредения списък се използва там, където не е необходимо да се представят списъците в някакви конкретни поръчки. Следващите раздели обясняват свързаните атрибути и примери за тях.
Този атрибут дава вида на куршумите, които ще се използват в списъка.
1. Тип атрибут = 'диск'
Това е типът по подразбиране и всички елементи са маркирани като куршуми. Тук използваме атрибут тип и всички тези атрибути поддържат в HTML 3, За да дефинираме под HTML5, ние трябва да внедрим CSS в стила на списъка. Ето примерна демонстрация.
пример
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.
изход:
2. Тип атрибут = „квадрат“
Тук елементите са маркирани с квадратни куршуми.
пример
Демонстриране на HTML кода с квадратния куршум, вграден със стил на цвета и позицията.
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
изход:
3. Тип атрибут = 'кръг'
Този атрибут дава кухи стойности на куршума. По-долу са примерният атрибут за изобразяване на кръг и квадрат заедно с вложени списъци.
пример
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
изход:
Подмяна на елементи от списъка с HTML с персонализируеми изображения
Това в крайна сметка ще подобри общата тема и ще направи уебсайта визуално добър. Курсовете по подразбиране се заменят от родния стил или дори могат да се персонализират, като се използват изображения с помощта на CSS. Всъщност, има три стилистични списъка, които да се използват в HTML. Тук вървим с изображение на тип списък и изображение в стил списък.
Използването на буквата за изображения е да направи списъците по-уникални и да разграничи информацията по вид, С други думи, за да придаде вид на презентацията в уеб страницата.
В примера по-долу примерите са демонстрирани със свойствата на стила между елементите на списъка.
Пример №1 - Свойства на стила между елементите на списъка
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
изход:
Това ще даде резултат като
Пример №2 - Със стил на изображението
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
Хари Потър Герои:
изход:
заключение
Сега, когато се натъкнахме как да изграждаме нередовни списъци в HTML. Видяхме как непоредният блок елемент играе роля при създаването на уеб страници с различни примери и проучихме някои функции на списъка. Дори това може да се използва в навигационните менюта за вертикално показване. Създаването на списък с непоредни поръчки е много просто, важно е да се обмисли къде да се определи този подход за най-доброто битово място. С други думи, перфектният документ предпочита да използва формат на HTML списък.
Препоръчителни статии
Това е ръководство за списъка с неподредени HTML. Тук обсъждаме синтаксиса и типовете атрибути за списък с неподредени HTML с примери. Можете също така да разгледате следните статии, за да научите повече -