HTML CSS Reference/HTML Attributes Reference/leftmargin

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

"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>