HTML div tag


<div>Demo</div>

2. Usage

  • In HTML layout, the most use tag is div.
  • div and CSS styles allow web pages to achieve a variety of style effects.
  • It replaces the table tag layout.
  • It separate the contents.

3. Example

<div>1st div</div>
<div>2nd div</div>
<div>3rd div</div>
Result :
1st div
2nd div
3rd div



Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.
TwitterGoogle+Facebook