HTML LISTS

Mar 11, 2018

1 - Introduction

section{HTML lists}

2 - Types of an HTML List

3 - Unnumbered HTML lists

4 - Numbered HTML Lists

subsection{Numbered Lists}  Numbered lists work on the same principle as unnumbered lists. The only difference is that we use the textbf{ol} tag (ordered list) instead of the  textbf{ul} tag. The elements remain framed by the textbf{li} tags.  begin{example} here is an example of numbered list of three elements end{example}  begin{equation*} FRAME{itbpF}{2.1967in}{0.8842in}{0in}{}{}{3-ordered-list-html-ol-li.png}{% special{language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display "USEDEF";valid_file "F";width 2.1967in;height 0.8842in;depth 0in;original-width 2.1685in;original-height 0.856in;cropleft "0";croptop "1";cropright "1";cropbottom "0";filename 'images/3-ordered-list-html-ol-li.png';file-properties "XNPEU";}} end{equation*}  This code will give :% begin{equation*} FRAME{itbpF}{1.3084in}{1.0917in}{0in}{}{}{4-displaying-ordred-ist.png}{% special{language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display "USEDEF";valid_file "F";width 1.3084in;height 1.0917in;depth 0in;original-width 1.2802in;original-height 1.0643in;cropleft "0";croptop "1";cropright "1";cropbottom "0";filename 'images/4-displaying-ordred-ist.png';file-properties "XNPEU";}} end{equation*}

5 - Start attribute of an HTML List

subsection{Start attribute}  In transitional HTML, the start attribute is used to define the initial value of the numbering.  begin{example} of numbered list starting at $index=3$ end{example}  begin{equation*} FRAME{itbpF}{2.4292in}{1.0685in}{0in}{}{}{5-start-attribute-list.png}{% special{language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display "USEDEF";valid_file "F";width 2.4292in;height 1.0685in;depth 0in;original-width 2.4002in;original-height 1.0403in;cropleft "0";croptop "1";cropright "1";cropbottom "0";filename 'images/5-start-attribute-list.png';file-properties "XNPEU";}} end{equation*}  This code will give:  begin{equation*} FRAME{itbpF}{1.2287in}{0.6841in}{0in}{}{}{% 6-displaying-start-attribut-list.png}{special{language "Scientific Word";type "GRAPHIC";maintain-aspect-ratio TRUE;display "USEDEF";valid_file "F";width 1.2287in;height 0.6841in;depth 0in;original-width 1.1997in;original-height 0.6559in;cropleft "0";croptop "1";cropright "1";cropbottom "0";filename 'images/6-displaying-start-attribut-list.png';file-properties "XNPEU";}} end{equation*}  subsection{Lists with descriptions}  Unlike other types of lists, the description lists, dl (definition list), do not use the li tag for items in the list, but divide them into two parts: the term, introduced by dt (definition term) and its description introduced by dd (definition description).

Younes Derfoufi 

Leave a Reply