The lists |
OverviewDescriptionToday, I offer you a tutorial on lists and enumerations. There are three types of lists:
UNORDERED LISTThis is the basic bulleted list. The structure is quite simple:
Attribute typeYou can change the appearance of bullets by adding the attribute typein the opening tag
ORDERED LISTQuite similar to the unordered list, the main difference lies in the main tag: the list is declared with
By default, this list will automatically display 1, 2, 3 and so on (useful for making summaries). Attribute typeAs for
Attribute startThe attribute start is used to define the start. It accepts a numeric value (a number, what!). Automatically, it will start at the corresponding level.
Here, with an ordered list of the "alphabet" type and a start at "25", we start at the 25th letter of the alphabet. Once you reach the end, it starts again.
NotesIt is possible to nest both ordered and unordered lists to create multiple levels of lists.The particularity of the unordered list is that the bullets change automatically according to the level:
For example: 1st level ordered, 2nd level unordered:
LIST OF DEFINITIONSA list of definitions is broken down into three parts:
In effect, you get an offset of the "descriptions" below the associated items. HTML
Equivalence in BBCodeThings are done well, ordered and unordered lists have their equivalents in BBCode. The settings are more limited, but still good to know.An unordered list is constructed as follows:
Notes
|
This resource belong to this community unless differently stated. No reproduction possible without our agreement, in accordance with article L122-1 of the CPI. |