HTML CSS Reference/HTML Attributes Reference/valign

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

"valign" Example

   <source lang="html4strict">
   

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

This is the caption for this table.
Cell 1 Cell 2
Cell 3 Cell 4

</BODY> </HTML>


     </source>
   
  


valign is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To | <col> | | |<colgroup> <tbody> | | |<td> <tfoot> | | |<th> <thead> | | |<tr> | +----------------+--------------------------------------------------------------+

     </source>
   
  


valign Possible Values

   <source lang="html4strict">

Possible Values

Possible values are top, middle (the default), absmiddle, bottom, baseline.


     </source>
   
  


"valign" Syntax and Note

   <source lang="html4strict">

Note:

This attribute defines the vertical alignment of text within the table cell or other element.

Syntax:

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


     </source>