html list tags | list in html

HTML List Tags

 HTML provides several tags for creating lists. Here are the most commonly used list tags in HTML:


  1. <ul>: The unordered list tag is used to create a bulleted list. Each list item is wrapped in <li> tags. Example:
html
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>
  1. <ol>: The ordered list tag is used to create a numbered list. Again, each list item is enclosed within <li> tags. Example:
html
<ol> <li>First item</li> <li>Second item</li> <li>Third item</li> </ol>
  1. <dl>: The definition list tag is used to create a list of terms and their corresponding definitions. The terms are defined using the <dt> tag, while the definitions are enclosed within <dd> tags. Example:
html
<dl> <dt>Term 1</dt> <dd>Definition 1</dd> <dt>Term 2</dt> <dd>Definition 2</dd> </dl>

These list tags can be nested within each other to create hierarchical lists or combined with other HTML elements to achieve desired structures. Remember to close each list item (<li>) and list tag (<ul>, <ol>, <dl>) properly by adding the corresponding closing tags (</li>, </ul>, </ol>, </dl>).


In Hindi

  1. <ol> - निर्देशांकित सूची (Ordered List)
  2. <ul> - अनुक्रम सूची (Unordered List)
  3. <li> - आइटम (List Item)
  4. <dl> - परिभाषा सूची (Definition List)
  5. <dt> - परिभाषा का शीर्षक (Definition Term)
  6. <dd> - परिभाषा का विवरण (Definition Description)

ये HTML में उपयोग होने वाले सूची टैग हैं।


  1. <ol> - यह टैग "निर्देशांकित सूची" (Ordered List) को दर्शाने के लिए उपयोग होता है। इसमें प्रत्येक आइटम को संख्यांकित किया जाता है और उन्हें विशिष्ट क्रम में प्रदर्शित किया जाता है।

  2. <ul> - यह टैग "अनुक्रम सूची" (Unordered List) को दर्शाने के लिए उपयोग होता है। इसमें प्रत्येक आइटम को बुलेट संकेतक के रूप में प्रदर्शित किया जाता है।

  3. <li> - यह टैग "आइटम" (List Item) को दर्शाने के लिए उपयोग होता है। इसे <ol> या <ul> टैग के अंदर उपयोग किया जाता है ताकि आइटम्स सूची के हिस्से के रूप में प्रदर्शित हो सकें।

  4. <dl> - यह टैग "परिभाषा सूची" (Definition List) को दर्शाने के लिए उपयोग होता है। इसमें प्रत्येक परिभाषा को शीर्षक (<dt>) और विवरण (<dd>) के रूप में प्रदर्शित किया जाता है।

  5. <dt> - यह टैग "परिभाषा का शीर्षक" (Definition Term) को दर्शाने के लिए उपयोग होता ह

  1. <menu> - मेनू सूची (Menu List)
  2. <dir> - निर्देशिका सूची (Directory List)
  3. <ul> - विभाजित सूची (Divided List)
  4. <menuitem> - मेनू आइटम (Menu Item)

ये भी HTML में उपयोग होने वाले कुछ और सूची टैग हैं। यदि आपको किसी अन्य HTML टैग के बारे में जानकारी चाहिए, तो आप पूछ सकते हैं।

Comments

Popular posts from this blog

html audio tag | audio in html | how to add audio in html #html #htmlcss