How to use div tag in html | div tag example

The div element is very often used together with Cascading style sheet, to layout a web page. The div tag is a block-level element, so a line break is placed before and after it.You can place any HTML element within the div tag, including another div . The div tag can NOT be inside p tag , because the paragraph will be broken at the point, where the div tag is entered.

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *