Which is more semantic and valid?
<td>
<p>
content text
</p>
</td>
or
<td>
content text
</td>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Leave out the
<p>tag unless the content of your table cell is truly a paragraph. It’s certainly possible to have paragraphs in tabular data, and in that case a semantic<p>would be appropriately placed. But for the common table with data in the cells eg. numbers, names, etc., don’t include the<p>.