Boqonnaa 4 Teeknooloojii Odeeffannoo kutaa 11
HTML lists: numbers, bullets, and a list inside a list
daqiiqaa 4 · Gaaffii qormaata darbe 2 hojjetaman
Kutaalee barnootaa
Barnoota achii jalqabee taphachiisuuf kutaa tokko tuqi.
Barnoota viidiyoo Temari daqiiqaa 4 boqonnaa 4 Teeknooloojii Odeeffannoo kutaa 11: HTML lists: numbers, bullets, and a list inside a list. Barnoonni kun Afaan Ingiliziitiin.
Dabalata boqonnaa 4
Fuulli boqonnaa kanaa wanta Temari boqonnaa kana irratti qabu kan hafe qaba, fakkeenyaaf yaadannoo gabaabaa fi gaaffii shaakalaa deebii isaanii waliin.
Fuula boqonnaa 4 baniWanta barnoonni jedhu hunda
Jechoota barnootaa kutaa kutaan. Barnoota achii jalqabee taphachiisuuf yeroo tuqi.
0:00Introduction
A webpage often needs a list: steps in order, or points with bullets. HTML has a tag for each. Learn how one attribute changes the numbers, and where a list inside a list must go.
0:14The ordered list: numbered
First, the ordered list. It is a numbered list. You open it with the ol tag, and you put each item inside an li tag. So: ol. Then li, Save energy. Then li, Plant trees. Then you close the ol.
In the web browser, the items come out numbered. One, Save energy. Two, Plant trees. You did not type the numbers: the browser adds them. By default, it uses Arabic numerals.
0:49<ol type="...">
To change the numbers, use the type attribute. It goes inside the start tag, like this: ol, type equals, and then a value. There are five values.
One is the default: Arabic numerals. A capital I gives upper-case Roman numerals. A small i gives lower-case Roman numerals. A capital A gives upper-case English letters, and a small a gives lower-case letters. So watch the case. A capital letter and a small letter give two different lists.
1:23Practice question 1Qormaata darbe
Here is a practice question. In an ordered list, the type attribute is set to small i. Which numbering appears in the list? Pause the video, and try it.
A small i gives lower-case Roman numerals. The answer is A. B is the trap: upper-case Roman numerals need a capital I. C, lower-case letters, needs a small a. And D, Arabic numerals, is the default, when you set no type at all.
2:00The unordered list: bullets
Now the unordered list. It is a bulleted list. You make it with the ul tag, and its items also go in li tags. The default bullet is a disc. Its type attribute can change that to square or circle.
Lists can also be nested. That means one list is placed inside another, and any type of list can go under any other type. So where exactly does the inner list go?
2:27Where the inner list goes
Here is your book's example. The outer list is a ul. Its item says: Actions one can do to stop climate change. Now look where the ol goes. It opens inside that li item, before the item closes.
So the ol comes first, with its own items: Save energy, Plant trees. Then the ol closes. Only after that does the outer li close, and then the ul. In the browser, the numbered steps appear under that one bullet point.
3:01Practice question 2Qormaata darbe
Try this one. An ol list is nested inside an unordered list. Where must the ol list be placed? Pause, and try it.
The inner list goes inside an item of the outer list. So the ol sits between the start tag and the end tag of an li in the outer ul. The answer is A. B and D put the list outside the ul altogether, so it is not nested at all. And C, the head section, keeps information about the page, like its title. It is not shown as content.
3:43Summary
So remember. ol makes a numbered list, ul a bulleted list, and every item goes in li. The type attribute changes the numbering, and the case matters: small i is lower-case Roman, capital I is upper-case. And a nested list goes inside an li of the outer list. Keep practising questions like these on Temari.et.
Boqonnaa kana appii keessatti shaakali
Temari boqonnaa kana gara shaakala yeroon daangeffametti jijjiira; utuu hojjettuu ni sirreessa; wanti si hin galinis barsiisaa AI tiin ni ibsama.
Bilisaan jalqabiTemari.et appii Android qaba; Google Play irratti bilisaan argama.

