This is the important Block level elements which stands a big role in grouping with other HTML tags and applying CSS in a group of elements. Even now a <div> tag can be used to make a website layout where we define different parts ( Left, Right, Top, Botttom) of the page using <div> tag. This tag does not provide any visual change on the block but this has mning when it is used with CSS.
<!DOCTYPE html>
<html>
<title>Block level element</title>
<body>
<h1>1 level block element</h1>
<h2>1 level block element</h2>
<h3>1 level block element</h3>
<h4>1 level block element</h4>
<h5>1 level block element</h5>
<h6>1 level block element</h6>
</body>
</html>
DOWNLOAD click here to download output file
Comments
Post a Comment