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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:26:49+00:00 2026-06-01T00:26:49+00:00

As you know HTML5 introduced some new html tag, like footer,header, … What prevent

  • 0

As you know HTML5 introduced some new html tag, like footer,header, …

What prevent us from using a lot of other new tag and apply shiv to these new tags? (from functional, behavior, style, structure, … viewpoints)

I want use following code (more semantic, concise and readable, a step forward Web 3.0):

<style type="text/css">
    book {
        display: block;
        color: red;
    }

    book title {
        display: inline-block;
        font-weight: bold;
    }
</style>

<book>
    <title>
        My Title
    </title>
</book>

instead of using following traditional (!) code:

   <style type="text/css">
        div.book {
            color: red;
        }

        div.book div.title {
            font-weight: bold;
        }
    </style>

    <div class="book">
        <span class="title">My title</span>
    </div>
  • 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-01T00:26:50+00:00Added an answer on June 1, 2026 at 12:26 am

    Using your own tags works well up to a point, and it sounds tempting. However, you are not adding any meaning (semantics) that way; an invented tag has no defined meaning, and pretending that the tag name is descriptive of meaning is an illusion.

    Custom tags have several problems. But your simple example also demonstrates extended usage of tags that are defined in HTML specifications. Who knows what will happen if a document contains several title elements, or a title element outside its “legal” scope, the head element? Who knows what search engines will think about it?

    The point is that title is defined in HTML and browsers treat it in their ways, which cannot be controlled by you. If the browser decides to take a misplaced title element as if it were standard-conformingly in the head and therefore uses it in certain ways (e.g., in top bar or tab control), what can you do about it? If it even overrides a standard-conforming title element, what do you do?

    If you just use custom tags, you might decide to ignore the IE problem (which cannot be completely solved using JavaScript, because JavaScript might be disabled). But you would still be using something that may crash tomorrow when some browser vendor starts supporting an extended tag and it happens to have the same name as your tag (but different meaning). And <book> is a good candidate for that. It might even make its way to HTML specs some day; HTML5 drafts already have <article>.

    Your style sheet might override any default presentation describable in CSS today, but browsers might use extended CSS features or might use presentational features not describable in CSS. And new tags might have default functionality that surprises you and can hardly be anticipated now.

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

Sidebar

Related Questions

I'm new to HTML coding and I know HTML has some reserved characters for
Canvas from html5 was introduced some time ago. Currently it's used (almost) only for
I would like to build an HTML5/javascript news reader for tablets. I know HTML,
As we all know that html5 has introduced lots of new features. How can
I know that I should put all the html elements in body tag, but
After all the latest news and talk about HTML5, I would like to know
I know the html5 audio stuff is all very new, but is there a
I know HTML5 canvas fairly well, I know the basics and animation using loops
I am using HTML5 and want to know if the right mouse button or
WIth iOS 5.0.1 the new file attribute to prevent data from being backed up

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.