In XHTML it is not recommended to add topmargin,leftmargin in the following way.

</code>

<body topmargin="0">

<code>



When we are going to validate the code with W3C Validator ,this will give an error.

Therefore we can avoid this error by putting this in the css as follows

</code>

<script type="text/css">

body{

margin-top:10px;

margin-left:10px;

}

</script>

<code>