Jump to content

[HTML] - Liste


BAWZIE
 Share

Recommended Posts

Html suporta liste neordonate si ordonate.
Ex de lista neordonata:

<html>
<head>
<title>Aici se pune titlul paginii</title>
</head>
<body>
<ul>
<li>element1 </li>
<li>element2 </li>
</ul>
</body>
</html>

Prin <ul type=""> semnul din fata poate fi modificat.
<ul type="disc"> , <ul type="circle"> , <ul type="square">

Ex de lista ordonata:

<html>
<head>
<title>Aici se pune titlul paginii</title>
</head>
<body>
<ol>
<li>element1 </li>
<li>element2 </li>
</ol>
</body>
</html>

Initial in fata va aparea 1. , 2. .Prin
type"A" se va schimba in A. , B. , C. ,etc.
type"a" se va schimba in a. , b. , c. ,etc.
type"I" se va schimba in I. , II. , III. ,etc.
type"i" se va schimba in i. , ii. , iii. ,etc.

 

Sursa.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.