HTML and CSS [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

HTML and CSS [Electronic resources] - نسخه متنی

Molly E. Holzschlag

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Ordered Lists


An ordered list is a list of items that must be followed in a specific order, such as in a recipe or directions to someone's home. Ordered lists are also called numbered lists.

Two elements are required to create an ordered list. The first is the <ol>. . . </ol> (ordered list) element, and the second is the <li> . . . </li> (list item) element (see Example 2-4).

Example 2-4. Creating an ordered list


<ol>
<li>Take I-10 to the Speedway Exit</li>
<li>After you've exited, make a left onto Speedway Boulevard</li>
<li>Follow Speedway for several miles until you reach Park Avenue. </li>
</ol>

The ordered list element alerts the browser that any list items contained within the list will be numbered sequentially by the browser (see Figure 2-4).

Figure 2-4. An ordered list as interpreted by the browser.

The browser has automatically generated a numeric value for each list item. You can style these with a range of numeric values, such as Roman numerals, by using CSS to modify the behavior of the browser.

/ 198