HTML CSS Reference/HTML Attributes Reference/height

Материал из Web эксперт
Перейти к: навигация, поиск

"height" Example

   <source lang="html4strict">
   

<HTML> <head> <Title>Example For height</Title> </head> <BODY>

Header
Cell 1

</BODY> </HTML>


     </source>
   
  


height is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<applet> <embed> | | |<frame> <iframe> | | |<img> <marquee> | | |<nobr> <object> |

| |<spacer> | | | | +----------------+--------------------------------------------------------------+ </source>

"height" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the height of an element in pixels.

Syntax:

<element height="value"> . . . </element>


</source>
| | |