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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:15:12+00:00 2026-06-10T05:15:12+00:00

The div tag is not working inside table definition: <table> <tr></tr> <div id=choice><tr> <td>——-</td>

  • 0

The div tag is not working inside table definition:

<table>
<tr></tr>
<div id="choice"><tr>
<td>-------</td>
<td>-------</td>
<td>-------</td>
<td>-------</td>
</tr></div>
<tr></tr>
</table>

If I am trying—> getElementById("choice").innerhtml="some data with td's" is not working in IE browser?

But if I use div, by starting new table like,

<table>
<tr></tr>
<div id="choice"><table>
<tr>
<td>-------</td>
<td>-------</td>
<td>-------</td>
<td>-------</td>
</tr>
</table>
</div>
<tr></tr>
</table>

But can I make this with only one table, to run on IE.

  • 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-10T05:15:14+00:00Added an answer on June 10, 2026 at 5:15 am

    Table tag must follow a specific semantic. You can insert tags (divs and other ones) only inside TD or TH! It’s not possible to insert any tag between table /table that are not one of the following: tr, td, th, thead, tbody, tfoot (and anyway you have to nest them properly!).
    This is unfortunately a quite common mistake which can breaks table-structured form like:

    <form>
      <table> 
        <tr>
          <td>
            <input type="text" name="foo" />
            <input type="submit" value="send" />
          </td>
        </tr>
        </form>
      </table>
    

    The above example its hard to debug… so pay attention in order to respect table semantic

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

Sidebar

Related Questions

Im trying to add a div tag dynamically with some data attributes but the
What is the problem with <table> tag which is not with <div> for screen
I have a html table inside div tag and I want to stop the
I am appending some html inside a table tag while performing each Ajax request.I
I am trying to use event delegation inside a containing div tag set to
Seems like $(img).next().hide(); is not working when both the image and div tag are
I'm trying to fade a DIV inside a <canvas> tag. (is that even allowed?
I have a div tag which looks something like this: <div id=some id here
I use one jquery for showing tips. It creates DIV tag inside A tag.
Hi all, vertical-align:middle is not working in div. Can you please check the bug

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.