- •Introduction in html 3
- •Special symbols and comments.
- •Tables in html
- •«Lists as a tool for structuring»
- •Create of lists
- •Html List Tags
- •Ordered Lists
- •Unordered Lists
- •Circle:
- •Html Description Lists
- •Example
- •«Types of hyperlinks. The concept of the url and using them »
- •« Creating frames. Setting the frame»
- •«The concept of media files»
- •« Navigation maps »
- •References
«Lists as a tool for structuring»
Create of lists
HTML can have Unordered Lists, Ordered Lists, or Description Lists. Any list created according to next scheme:
<opening tag of list>
< tag of list element > text of list element < tag of list element > text of list element
< tag of list element > text of list element
</ closing tag of list >
Ordered Lists:
Element of list 1
Element of list 1
Element of list 1
Unordered Lists:
Element of list 1
Element of list 1
Element of list 1
Description Lists:
Definition 1
Description of definition 1
Definition 2
Description of definition 2
Definition 3
Description of definition 3
Html List Tags
Tag |
Description |
<ul> |
Defines an unordered list |
<ol> |
Defines an ordered list |
<li> |
Defines a list item |
<dl> |
Defines a description list |
<dt> |
Defines the term in a description list |
<dd> |
Defines the description in a description list |
The <LI> tag has attributes:
Attribute |
Value |
Description |
type |
1 A a I i disc square circle |
Specifies which kind of bullet point will be used |
value |
number |
Specifies the value of a list item. The following list items will increment from that number (only for <ol> lists) |
You can use any tags into any lists. For example, you can highlight Definition 1 in bold, if you writing <B>Definition 1</B>.
Ordered Lists
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items will be marked with numbers.
Example
<ol> <li> Кофе
<li> Молоко </ol>
The <OL> tag has attributes:
Type |
Description |
type="1" |
The list items will be numbered with numbers (default) |
type="A" |
The list items will be numbered with uppercase letters |
type="a" |
The list items will be numbered with lowercase letters |
type="I" |
The list items will be numbered with uppercase roman numbers |
type="i" |
The list items will be numbered with lowercase roman numbers |
start |
Allow to change numeration of list |
Example
Numbers:
<ol type="1"> <li>кофе <li>чай <li>молоко
</ol>
Upper Case:
<ol type="A"> <li>кофе <li>чай <li>молоко </ol>
Lower Case:
<ol type="a"> <li>кофе <li>чай <li>молоко </ol>
Roman Upper Case:
<ol type="I"> <li>кофе <li>чай <li>молоко </ol>
Roman Lower Case:
<ol type="i"> <li>кофе <li>чай <li>молоко </ol>
