Există trei tipuri de listări, listare neordonată, listare ordonată și listare definită.Acum vom trata primele două listari, iar listarea definită va fi prezentată în tutorialul HTML pentru intermediari.
Listarea neordonată și cea ordonată funcționează cam în același mod, singura diferențiere fiind la afișare, o listare neordonată având caracteristic deobicei text precedat de diferite semne, iar listarea ordonată poate avea textul precedat de litere sau numere.
Tag-ul <ul> este folosit pentru a descrie o listă neordonată, iar tag-ul <ol> pentru a defini o listă ordonată.În interiorul listei, folosim tag-ul <li> pentru a defini semne pentru fiecare rând de text.
Modifica codul tău din document, astfel :
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html>
<head>
<title>Pagină personală</title>
</head>
<body>
<h1>Aceasta este prima mea pagină web.</h1>
<h2>Ce este asta</h2>
<p>O simplă pagină construită folosind limbajul HTML</p>
<h2>De ce este așa</h2>
<ul>
<li>Pentru a învăța HTML</li>
<li>Pentru a mă perfecționa</li>
<li>Pentru că îmi iubesc calculatorul și aș vrea să îi ofer putină dragoste HTML</li>
</ul>
</body>
</html>
Dacă salvezi și accesezi pagina în browserul de internet, în text vei observa o listă cu semne.Schimbă tag-ul <ul> cu tag-ul <ol> și vei observa că lista ta va fi numerotată.O lista poate fi deasemenea integrată întro altă listă, pentru a forma o ierarhizare listată cu mai multe caracteristici.
Schimbă textul adăugat nou, cu următoarea soluție :
<ul>
<li>Pentru a învăța HTML</li>
<li>
Pentru a mă perfecționa
<ol>
<li>Pentru șeful meu</li>
<li>Pentru prietenii mei</li>
<li>Pentru pisica mea</li>
<li>Pentru mica rățușcă vorbăreață din mintea mea</li>
</ol>
</li>
<li>Pentru că îmi iubesc calculatorul și aș vrea să îi ofer putină dragoste HTML</li>
</ul>
Și iată cum ai reușit să pui o listă în interiorul unei alte liste, si poți continua mai departe, făcând un șir de liste în liste.
Pagini relatate:
- Pagina următoare: Link-uri
- Pagina precedentă: Tag-ul <h>,<h1>,<h2> etc.
- Liste de definiții ( Tutorial HTML pentru intermediari )
![header=[] body=[andrew.cornett posted a photo:
Just squeezed out this HTML email in about an hour or so thanks to MailChimp!. ReadyTech HTML Email] andrew.cornett posted a photo:
Just squeezed out this HTML email in about an hour or so thanks to MailChimp!. ReadyTech HTML Email](http://farm4.static.flickr.com/3004/3048902260_14465ef17e_s.jpg)
![header=[] body=[Toni Panayotov posted a photo:
The first concept for the homepage of a school project. Client: Mambo Lounge Nightclub San Francisco CA. mambo_lounge] Toni Panayotov posted a photo:
The first concept for the homepage of a school project. Client: Mambo Lounge Nightclub San Francisco CA. mambo_lounge](http://farm4.static.flickr.com/3251/3047025017_eeef7db1e9_s.jpg)
![header=[] body=[tractorpirate posted a photo:
. www.m7lives.com] tractorpirate posted a photo:
. www.m7lives.com](http://farm4.static.flickr.com/3167/3046291353_4670b108ae_s.jpg)
![header=[] body=[comsodesign88 posted a photo:
planning on a new business card, so im starting to create som mock ups... business card mock up] comsodesign88 posted a photo:
planning on a new business card, so im starting to create som mock ups... business card mock up](http://farm4.static.flickr.com/3030/3046910170_5298b8d0e0_s.jpg)
![header=[] body=[SprittiBee posted a photo:
Who's scared? Looks like he is more than I am.. l-n-c2] SprittiBee posted a photo:
Who's scared? Looks like he is more than I am.. l-n-c2](http://farm4.static.flickr.com/3219/3046074967_077a125c2c_s.jpg)
![header=[] body=[tracystone posted a photo:
Website Design and development for Teahouse Media.
teahousemedia.com. Teahouse Media Website Design] tracystone posted a photo:
Website Design and development for Teahouse Media.
teahousemedia.com. Teahouse Media Website Design](http://farm4.static.flickr.com/3054/3046020827_68efee7d31_s.jpg)
![header=[] body=[Noah and Cat posted a photo:
In the next few months, life and time willing, I plan on starting a news website for the canal community in England, Ireland, Scottland and Wales. This is an in-progress design mock-up of where I'm headed. I'm not quite sure what to do with the bottom bit yet but I'm browsing other news sites for ideas.
The content right now is purely artificial. In most spots anyway.. Towpath Telegraph (In Progress)] Noah and Cat posted a photo:
In the next few months, life and time willing, I plan on starting a news website for the canal community in England, Ireland, Scottland and Wales. This is an in-progress design mock-up of where I'm headed. I'm not quite sure what to do with the bottom bit yet but I'm browsing other news sites for ideas.
The content right now is purely artificial. In most spots anyway.. Towpath Telegraph (In Progress)](http://farm4.static.flickr.com/3183/3045738255_8a8bd11d30_s.jpg)
![header=[] body=[jpguarin posted a photo:
Nueva pagina de VSP*
www.vsp.com.co. www.vsp.com.co] jpguarin posted a photo:
Nueva pagina de VSP*
www.vsp.com.co. www.vsp.com.co](http://farm4.static.flickr.com/3159/3045426395_e83cb3f50f_s.jpg)
![header=[] body=[kpucu.com posted a photo:
Redesign for www.bgstar.eu. BgStar.EU redesign] kpucu.com posted a photo:
Redesign for www.bgstar.eu. BgStar.EU redesign](http://farm4.static.flickr.com/3056/3045346683_ac042695e2_s.jpg)


