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 4541898
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:18:37+00:00 2026-05-21T15:18:37+00:00

I like the new tags from the HTML 5 standard. Can I use them

  • 0

I like the new tags from the HTML 5 standard. Can I use them more than once?

Like 3 <nav> tags, or two <sidebar> tags, and can I invent new tags like <fuu> ?

In xhtml I had:

<div class="nav-wrap">
 <div class="nav">
   ...
 </div>
</div>

so I could do something like:

<nav class="wrap">
  <nav>  <!-- can <nav> have <li>'s ? -->
  ...
  </nav>
</nav>

?

  • 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-05-21T15:18:38+00:00Added an answer on May 21, 2026 at 3:18 pm

    The <nav> element is defined in the html5 spec, but the <sidebar> element is not. You can use as many <nav> elements as you’d like (so long as they aren’t nested), but the other ones you’d have to provide a DTD and hope that the browser your users use is flexible enough to accept new elements.

    I would recommend not defining new elements, and just use the existing semantic elements to create the effects you are after.

    <div class="sidebar"></div> is good enough and will be treated as secondary content if you’re wrapping your primary content in <main>, which effectively cues the browser into understanding that the region is not a header, footer, or primary content, which on most sites equates to a sidebar.

    However, in most cases, the <aside> element is appropriate for use as a sidebar.

    Per the spec:

    The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.

    Emphasis mine

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

Sidebar

Related Questions

I have an array of tags per item like so: item1 = ['new', 'expensive']
I like the new Dynamic keyword and read that it can be used as
I have an html file that I'd like to open and read from, but
I am finding that the more semantic I make my HTML using the new
I am currently in the process of removing html tags from fields within an
I would like to comment out all script tags from an HtmlDocument. This way
I have a HTML document that I want to remove specific tags from, identified
I'm new with jsTree and I would like to create a tree starting from
I am trying to match specific span-tags from an HTML source. The lang-attribute and
I'd like to create a simple javascript concatenator that takes 2 HTML textarea tags

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.