HTML CSS Reference/HTML Attributes Reference/height
Версия от 09:21, 26 мая 2010; (обсуждение)
"height" Example
<HTML>
<head>
<Title>Example For height</Title>
</head>
<BODY>
<table width="450" height="200">
<tr>
<th colspan="3" height="80">Header</th>
</tr>
<tr>
<td height="100">Cell 1</td>
</tr>
</table>
</BODY>
</HTML>
height is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<applet> <embed> |
| |<frame> <iframe> |
| |<img> <marquee> |
| |<nobr> <object> |
| |<spacer> <table> |
| |<td> <th> |
| |<tr> |
+----------------+--------------------------------------------------------------+
"height" Syntax and Note
Note:
This attribute sets the height of an element in pixels.
Syntax:
<element height="value"> . . . </element>