Member Avatar for feoperro

Hi,

How do you use the paragraph <p> </p> tag if you want to use it on an entire table?

I tried:

<p>
<table>
<tr>
<td>
Content 1
</td>
</tr>
<tr>
<td>
Content 2
</td>
</tr>
<tr>
<td>
Content 3
</td>
</tr>
</table>
</p>

But it did nothing...

Thanks,
Ashton.

Hi

As far as I know, you cannot have a <p> tag with a box element like a <table> tag. The <p> tag is meant for inline elements.

What is it that you are trying to achieve with the table?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.