How use valign in HTML?

 How use valign in HTML?


HTML valign attribute supports col,

 colgroup,

 tbody,

 td,

 tfoot,

 th,

 thead,

 tr elements.


   How to write valign in html


<ElementName valign="value" >.....</ElementName>


<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>Example of HTML valign attribute with td element </title>

</head>

<body>

<table width="200" border="1" cellpadding="2">

<tr>

<th valign="middle" >Student Code </th>

<th valign="middle">Percentage of marks</th>

<th valign="middle">Grade</th>

<th valign="middle">Remarks</th>

</tr>

<tr>

<td valign="baseline">S001</td>

<td valign="baseline">92</td>

<td valign="baseline">A+</td>

<td valign="baseline">Excellent</td>

</tr>

<tr>

<td valign="baseline">S002</td>

<td valign="baseline">76</td>

<td valign="baseline">B+</td>

<td valign="baseline">Good</td>

</tr>

</table>

</body>

</html>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( strict-origin-when-cross-origin ) with < iframe > tag in HTML ? with example

How to write html code for email signature ?

What is img scr or image scr or scr img ?

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

How to use Local Variable for whose values are present till function is executing in solidity ?