Html Blocks/ Inline

There are two kind of elements in HTML.
Element TypesDescription
Block level elementsRendered starting on a new line (e.g. <p> or <hr>)
In-line elementsRendered on same line (e.g. <b> or <q>)
The HTML <div> element is the most generic block-level element. This tag is used for defining a section of your document and also we can group large sections of HTML elements together. This element is best to attach a CSS to a section of a web page.
<div align="center" title="This is a tooltip">
This is a division block.
<div>
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +