Press "Enter" to skip to content

htmltablebvalign

HTML Table Valign​ attribute

The valign attribute specifies that the table cab be either top or bottom aligned. The default is center aligned.

Example for HTML Table Valign​ attribute​

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