Press "Enter" to skip to content

tablewidth

HTML Table Width

This attribute is used to set the width of the table. As either an absolute width, or a percentage of the document width.

Example for HTML Table Width Attribute

<!Doctype HTML>
<html>
<Head>
<Title>Your Web site Title</Title>
</Head>
<Body >
<table border=1 width=10%>
<tr > <td>Sno</td ><td>Name</td ></tr>
<tr > <td>1</td ><td>Johan</td ></tr>
</table>
<Body>
</html>