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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:39:13+00:00 2026-06-09T06:39:13+00:00

Can i use H1, H2, H3, H4, H5, H6 inside the table TH tags?

  • 0

Can i use H1, H2, H3, H4, H5, H6 inside the table TH tags? – HTML

I tryed to validate with the w3 validator, but it doesn’t validate. I get this:

The element h4 must not appear as a descendant of the th element.
<th><h4>Orange</h4></th>

I use HTML5, so i think that the best idea is to use <div> to make a table and then put the <H4> tags in it. Or is this a bad idea too? Because then it looks something like this:

<h4>first title</h4> <h4>second title</h4> <h4>third title</h4> 
<p>first parahraph</p> <p>second parahraph</p> <p>third parahraph</p>

And i don’t know how this looks, 3 heading tags that close, without any text or paragraphs between that.

  • 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-09T06:39:14+00:00Added an answer on June 9, 2026 at 6:39 am

    The HTML living standard explicity forbids this. The th element content model is as follows (emphasis added):

    Flow content, but with no header, footer, sectioning content, or heading content descendants.

    “Heading content” refers to the h1, h2 etc. elements, as well as the hgroup element:

    Heading content defines the header of a section (whether explicitly
    marked up using sectioning content elements, or implied by the heading
    content itself).

    h1 h2 h3 h4 h5 h6 hgroup

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

Sidebar

Related Questions

I am wondering whether I can use the this keyword inside a C# lambda,
Why can't we use return keyword inside ternary operators in C, like this: sum
Can I use MySQL transactions on an InnoDB table inside MySQL event? Are there
I want to know if I can use datas inside configuration profile generate by
How can i refer to the object i use inside With if i want
I know I can use activate_plugin() from inside a given, active plugin in WordPress,
I don't think that I can use ORDER BY clause inside the GROUP_CONCAT function.
Inside a classic asp page, I'm told that you can use vbscript or jscript.
Can someone tell/show me how to use PHP inside PHP. I'm trying to make
Possible Duplicate: Can we use any other TAG inside <ul> along with <li>? Or

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.