HTML page to understand block concept.

Here is a quick example to understand about block concept.
<html> <!--root tag-->
<head> <!--meta tag-->
<title><!--title tag-->
html block  concept
<body><!--body tag; it is a container-->
<p>learning block concept. In this the text is placed in different line.It  breaks the line.t</p>
<!--A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).
examples are:
article,fieldset,nav,header,table etc


No comments:

Post a Comment