Explain about divions (
tag) Or Formatting blocks in html.

Explain about divisions (
tag) Or Formatting blocks in html.
tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.
tag changing the appearance of block elements, any formatting that need adding inside the
 tag as follows.

Syntax: < div class = “ any element”>
             < P > - - -
             < h1 > - - -

Division is a logical part of the document and we cant treat divisions as individual items. 
The difference between the div tag and the span tag is that the div tag is used with blocklevel elements whilst the span tag is used with inline elements.
      HTML div Tag
padding-bottom: 20px;text-align: justify; width: 140px; color: red; ">
         Welcome to our website. We provide tutorials on various subjects.


Web Technology 3785128259174755193

Post a Comment