Computer Science, asked by mouli29, 10 months ago

How can you specify the height and width of a table? Explain with an example.​

Answers

Answered by vimlakshkhadse86
19

Answer:

The width and height attributes of the TD (TH) element specifies the width and height of a cell. ... Attribute, Value, Explanation ... Example. Width (Pixels) <table border="1"> < tr ..

make me branlllist

Answered by StaceeLichtenstein
12

With the help of width=" 50 px" height="100 px" in the <td> tag in HTML

Explanation:

  • In HTML We can create the table with <table > In this we crate the table row and table data .The <tr> and <td> tag is used for creating the row and the column in the table .
  • If the user need to specify the width and height of a table By using the <td> tag we  will give the width and height in the pixels.
  • For example :

<html>

<head>

</head>

<body>

<table>

<tr>

<td width="120px" height="80px"> Name </td>

<td width="50px" height="90px"> Addres </td>

</tr>

</table>

</body>

</html>

Learn More :

  • brainly.in/question/7533033

Similar questions