Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8579241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:34:13+00:00 2026-06-11T20:34:13+00:00

Hi I have about six months experience in web development. I have the following

  • 0

Hi I have about six months experience in web development.
I have the following observation,
I use <div> tags a lot, it gives me the ability to position the elements, to archive the elements,
and it seems I can use <div> tags to do everything, simply playing with its display property.

I’ve never had to use <ul> or <li> elements in combination, except for horizontal menu navigation, and I am not sure why you can’t do it with <div> elements, but it seems to be the ‘convention’ for achieving a horizontal menu.

Did I miss something? Are there some properties that <li> elements have that are better or more useful than <div> elements?

Please don’t restrict this question to only horizontal menu list; I want to know any scenario where you would use a <li> over something else.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:34:14+00:00Added an answer on June 11, 2026 at 8:34 pm

    Yes, you can do anything (more or less) strictly with div tags (with exceptions, like forms and inputs, and images, and what not). But that’s not the point.

    First, specific tags have default css applied to them. li’s have bullets, for example. You can change these, but in many situations, it’s just easier to use the tag that has the style you’re looking for.

    But the most important reason is what’s called “semantic markup”, which is the concept that which element you use corresponds to a semantic meaning. li means it’s a list of items, so even if you have no CSS applied (such as when a screen reader reads a page aloud for blind person) then it still has meaning.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing a web application for about six months with no framework
I've been doing web development for about six years now, and somehow have entirely
I have been programming in Java (my first language) for about six months and
i have about 60 fragments ListFragment , now i use each Listfragment with another
Ok so I have about six of these calendars on page, so thats around
I haven't done much Java development in about six years or so. I may
I have a page which contain six js included,when the page run about more
I have near about six Activities and a service class with BroadcastReceiver that run
We have about about six systems (they are all internal systems) that we need
I have a homepage with six div's. They are different shaped boxes, and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.