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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:07:30+00:00 2026-05-29T22:07:30+00:00

What valid HTML5-tag do you suggest, to combine one or more elements into a

  • 0

What valid HTML5HTML5-tag do you suggest, to combine one or more elements into a group?

Example:

  <!-- Not valid, see below - just ignore -->
    <ul>
      <li>Test1<li>
      <group id="2"><li>Test 2</li></group>
      <li>Test2<li>
      <li>Test3<li>
    </ul>
 <!-- // -->

  <p>Test Text 1 <group id="3">Lorem ipsum dolor</group></p>

</body>
</html>

Javascript (with DOM-Utility):

console.log($('group#2'));
  • 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-29T22:07:32+00:00Added an answer on May 29, 2026 at 10:07 pm

    It depends on the context. Here is the spec for all grouping elements of block level (or I like this visualization). You want something that fits semantically. For example, if you have an article, you’ll want to use the <article> tag. If you are defining a section of the page, use a <section>. If you are grouping headers, use <hgroup>. If you are doing x, use x tag.

    The list goes on and on and on. Find the appropriate element for the context. But do note, older browsers won’t know how to handle the elements, so you’ll need to be aware of that in how you style and how you use JavaScript to query the elements.

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

Sidebar

Related Questions

In HTML5, name is no longer a valid attribute of the anchor tag (
I'm trying to use the <a> tag in HTML5 more as a container as
These elements are not supported in HTML5 but are supported in XHTML: acronym ,
When defining a title or alt to an anchor tag, which is valid HTML5?
Is there a way to check if a tag is valid html tag and
I would like to convert some value from a XML attribute into valid HTML
I need to convert HTML documents into valid XML, preferably XHTML. What's the best
What are the valid html elements, if any, that can be contained within a
I'm working on a page using <canvas> , which is a HTML5 tag, in
I am aware I can use the tag in html5. However, is it a

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.