Definition and Usage.
The <div> tag defines a division or a section in an HTML document.
The <div> tag is often used to group block-elements to format them with styles.
Example.
<html>
<body>
<div style="color:#00FF00">
<h3>This is a header<<h3>
<p>This is a paragraph.</p>
</div>
</body>
</html>
No response to “Use of Div Tag”
Post a Comment