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

  • Home
  • SEARCH
  • 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 8540627
In Process

The Archive Base Latest Questions

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

Firstly, very sorry if this is not a true stackoverflow question. But it’s something

  • 0

Firstly, very sorry if this is not a “true” stackoverflow question. But it’s something I’ve always wondered about…

When you code a navigation bar for a site (html) I’ve read that it is very good practice, if not the ONLY practice to implement it using the list tag. e.g.

<ul>
    <li> Home </li>
    <li>About Us</li>
    <li>Blog</li>
    <li>Contact Us</li>
</ul>

And then apply the necessary styling that displays the list horizontally and so on and so forth.

But is this standard set in stone or does one only do it this way if it’s the best option to do so… Because currently I have a navigation bar to do that is not your ‘standard’ nv bar so to speak, and it’s a little bit of a mission to implement it as a list. A few link tags placed in some divs will work nicely. But of course I do not want to do this that method if it’s going to make people point and laugh at me…

Thanks in advance!

  • 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-11T11:38:35+00:00Added an answer on June 11, 2026 at 11:38 am

    Why use lists for site navigation?

    Part of designing a site using web standards involves the use of semantically correct code. To quote “Brainstorms and Raves“:

    Good HTML structure is based on logic, order, and using semantically correct markup. If you have a heading use the heading element, beginning with the H1 element. If you have a paragraph, use a paragraph element. If you have a list, use a list item element.

    At a structural level, site navigation is simply a list of links to other areas of the site. Therefore, the best method for marking up site navigation is (arguably) to use a list element.

    If you use good HTML structure, then text-based browsers, screen readers, non-CSS supporting browser, browsers with CSS turned off and search bots will be able to access your content more easily.

    A nice article on this is here

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

Sidebar

Related Questions

Firstly, sorry about the question title, it may not be very descriptive for my
Firstly sorry if this is a common question but I couldn't find anything on
I know very little about JavaScript but despite this I'm trying to cobble something
firstly, I very much apologize for my poorly written title of this question. So
Firstly, I realise that this is a very similar question to this one: Which
Ok, firstly I've seen this thread . But none of the solutions are very
Firstly apologies if this a very basic question, I'm just curious to know the
Firstly regrets if this is a very basic question and i promote that I'm
Firstly, please don't dismiss this question - I'm aware it's an ugly situation but
Firstly apologies if this is a really simple question but Git is absolutely brand

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.