0

I want to add a <td> tags inside a <div> tag for implementing Bootstrap Tour.

I've tried the below code,

<table>
    <thead>
    <tr>
        <td>hhh</td>
        <td>iii</td>
        <td>jjj</td>
    </tr>
    <tbody>
    <tr>
        <div class="my_class">
            <td>w</td>
            <td>w</td>
            <td>w</td>
        </div>
        <td>w</td>
        <td>w</td>
    </tr>
    </tbody>
</table>

But I got the output as

<div class="my_class">
</div><table>
    <thead>
    <tr>
        <td>hhh</td>
        <td>iii</td>
        <td>jjj</td>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>w</td>
        <td>w</td>
        <td>w</td>
        <td>w</td>
        <td>w</td>
    </tr>
    </tbody>
</table>

Is there any way to implement this?

Thanks.

Mûhámmàd Yäsår K
  • 1,492
  • 11
  • 24

0 Answers0