The following attributes of the BODY element sets the margins of a document.
MSIE, Opera
<body topmargin="0" leftmargin="0">
Firefox, Opera
<body marginheight="0" marginwidth="0">
MSIE, Firefox, Opera
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

| Attribute | Value | Explanation |
|---|---|---|
| MSIE Extension |
||
| topmargin=" " | pixels | top margin |
| leftmargin=" " | pixels | left margin |
| Netscape Extension |
||
| marginheight=" " | pixels | top and bottom margins |
| marginwidth=" " | pixels | left and right margins |
Extension attributes. (Non standard attributes)
Use CSS instead of this attribute. Please see the "Related Document" for details on CSS.
<html>
<head>
<title>TAG index</title>
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
</body>
</html>