Body Tag in HTML - What is body tag in HTML


Body Tag in HTML - What is body tag in HTML

The Body Tag is used to place the contents in a document such as from elements, hyperlinks, labels, buttons, images etc.
The body tag do not have any required attribute and it helps to make default background color and default font color for all document by specifying bgcolor and text properties.

Example:-

<body>
<form>
Name<input type="text">
Roll No.<input type="text">
</form>
<img src="favicon.png">
</body>

{ 0 comments... read them below or add one }

Post a Comment