HTML Lists
Lists are used to organize content in a structured way. They help display information clearly for readers. There are three main types of HTML lists.
Ordered List
An ordered list displays items in a numbered format. It is created using the <ol>
tag.
<ol>
<li>Visit the CODE4UTECH website</li>
<li>Check available internship programs</li>
<li>Fill out the application form</li>
<li>Submit your details</li>
</ol>
Output will appear as:
- Visit the CODE4UTECH website
- Check available internship programs
- Fill out the application form
- Submit your details
Unordered List
An unordered list displays items using bullet points. It is created using the <ul>
tag. This is useful when listing services or features.
<ul>
<li>Web Development</li>
<li>Mobile App Development</li>
<li>Digital Marketing</li>
<li>Software Solutions</li>
</ul>
Example services at CODE4UTECH:
- Web Development
- Mobile App Development
- Digital Marketing
- Software Solutions
Description List
Used for terms and descriptions. It uses the following tags:
<dl>— The description list container<dt>— The description term<dd>— The description definition
<dl>
<dt>CODE4UTECH</dt>
<dd>A software development and digital solutions company.</dd>
<dt>Web Development</dt>
<dd>Designing and building professional websites for businesses.</dd>
</dl>