HTML CSS Reference/HTML Attributes Reference/leftmargin

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"leftmargin" Example

   <source lang="html4strict">
   

<html> <body leftmargin="100">The document has aleft margin of 100px</body> </html>


     </source>
   
  


leftmargin is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<body> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"leftmargin" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the left indented distance in pixels. The default value is 10.

Syntax:

<body leftmargin="value"> . . . </body>


     </source>