How to make lists in your content

   All Guidelines   

How to make lists in your content


In this article, I will explain how to make numbered lists or bullet points in your content using html.


You can create lists with bullet points or numbers using the HTML tag <LI>

Each bullet point must start and end with the <LI> and </LI> tags respectively.

Example:

The following are the operating systems from Microsoft:
<LI>Windows 7</LI>
<LI>Windows 2008</LI>
<LI>Windows 2003</LI>
<LI>Windows XP</LI>
<LI>Windows Vista</LI>


When you use the above HTML, it will actually appear as below:

The following are the operating systems from Microsoft:
  • Windows 7

  • Windows 2008

  • Windows 2003

  • Windows XP

  • Windows Vista



  • Even though the above code will work, the ideal syntax in HTML for the lists is, enclose all the items within <UL> and </UL>

    So, the best way of doing it is this:


    The following are the operating systems from Microsoft:
    <UL>
    <LI>Windows 7</LI>
    <LI>Windows 2008</LI>
    <LI>Windows 2003</LI>
    <LI>Windows XP</LI>
    <LI>Windows Vista</LI>
    </UL>


    UL stands for Unordered List.

    Instead of bullet points, if you want an ordered list with numbers, use <OL> instead of <UL>

    Example:


    The following are the operating systems from Microsoft:
    <OL>
    <LI>Windows 7</LI>
    <LI>Windows 2008</LI>
    <LI>Windows 2003</LI>
    <LI>Windows XP</LI>
    <LI>Windows Vista</LI>
    </OL>


    When you use the above HTML, it will actually appear like this:

    The following are the operating systems from Microsoft:

    1. Windows 7

    2. Windows 2008

    3. Windows 2003

    4. Windows XP

    5. Windows Vista



       All Guidelines   


    Point to Point!

    Top Contributors
    Today
      Last 7 Days
        more...

        Latest Articles

        Best Employee Rewards Platforms in India
        Discover best Employee Rewards Platforms in India. Explore the leading Employee Rewards Platforms in India that are revolutionizing the dynamics of workplaces.

        Scope of smm in digital marketing in 2024
        Social Media Marketing (SMM) involves using social media platforms to connect with your audience, build your brand, drive website traffic effectively, and increase sales or engagement or leads. It encompasses a range of activities aimed at creating and sharing and creative content on social media networks to achieve marketing goals and it gives you better results

        IOS-17.1.2 - 10 - Major Update Updates
        iOS 17.1.2 is the latest version of Apple's mobile operating system. It includes a number of new features and improvements, including a redesigned Focus Mode, enhanced Live Text, improved Visual Look Up, a new Weather app, updated Maps, a revamped Wallet app, enhanced Safari, a smarter Siri, improved Handoff, and general performance improvements

        More...