Menu ▼

Previous Next

<body> :

All the controls and content of html document will be defined/placed here.

Syntax :

<body>

    <form>

     ............

    </form>

</body>


Example :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <form>

    <div>

        <p>

            All the content and controls we have placed in body tag will be the out put of

            the html document.

        </p>

    </div>

    <input type="text" /><br />

    <input type="submit" value="Submit" />

    </form>

</body>

</html>


Output :
HTML Tutorial

All the content and controls we have placed in body tag will be the out put of the html document.


Previous Next




Search dotnetlearners.com