Tuesday, August 1, 2023

Lists in HTML CLASS X

 

Lists in HTML

Lists are an important part of a document. Whether it is a word document or pdf document or web document. It adds functionality to understand the contents clearly. In your textbook you have seen the list of questions, points are listed in numbers or symbols!
 
This information makes your text and document contents more attractive and readable.

Types of Lists in HTML

HTML support three types of lists basically. They are:
    1. Ordered (Numbered) Lists – A list with numbers. 
    2. Unordered (Bulleted) Lists – A list with symbols or bullets
    3. Description (Definition) Lists – A list to write definitions or terminologies

Ordered (Numbered) Lists

To generate order lists in HTML following tags are used:
  1. OL: The ordered lists always starts with <ol> and ends with </ol>. 
  2. LI: LI tag specifies list items and written between <ol> and </ol>. For a number of the list items, the same number of <li> tags are required.






No comments:

Post a Comment

ONLINE SAFETY QUIZ FOR ALL CLASSES

https://www.safekids.com/quiz/  https://www.nspcc.org.uk/keeping-children-safe/online-safety/quiz/ https://edu.gcfglobal.org/en/internetsafe...