30-HTML Body


This tutorial is all about HTML Body.
The <body> tag serves as the container of the elements in a website, such as tables, lists, forms, paragraphs, and many more will be placed within the body element to make sure that each element is displayed on your site.


The unique attributes of the body element are the leftmargin that sets a left hand margin and the topmargin that sets a margin along the top.




Another example:

<body topmargin=”70″ leftmargin=”90″ >

<form name=”myForm” action=”process.php” method=”post”>
Firstname: <input title=”Enter Your First Name” id=”fname” name=”fname” type=”text” size=”16″ maxlength=”16″ />
Lastname: <input title=”Enter Your Last Name” id=”lname” name=”lname” type=”text” size=”16″ maxlength=”26″ /><br />
Password: <input type=”password” title=”Enter Your Password” size=”20″ maxlength=”20″ /><br /><br /><br />

<input type=”hidden” name=”itemId” id=”itemId” value=”0024″ />

<input type=”submit” value=”Save” /><input type=”reset” value=”Reset” />





Readers might read also:

Facebook Comments


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.