Tags inside a table
<!DOCTYPE html>
<html>
<body>
<table border="1">
<tr>
<td> <p>This is a paragraph</p>
<p>This is another paragraph</p> </td>
<td>This cell contains a table: <table border="1">
<tr>
<td>A</td>
<td>B</td>
</tr>
<tr>
<td>C</td>
<td>D</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>This cell contains a list <ul>
<li>apples</li>
<li>bananas</li>
<li>pineapples</li>
</ul>
</td>
<td>HELLO</td>
</tr>
</table>
</body>
</html>
Output
This is a paragraph
This is another paragraph
This cell contains a table:ABCDThis cell contains a listapplesbananaspineapplesHELLO
ليست هناك تعليقات:
إرسال تعليق