<div> Tag in HTML 5

In this article I am going to explain about div tag in HTML 5.
  • 1373


The <div> tag in HTML 5 is used to define the section in document.  The <div> tag in HTMl 5 offtenly use css for formatting.

Browser Support by <div> tag

The <div> tag is only supported in Google chrome browser.

Lets take an example of <div> tag



    <div style="color: blue">


            This is Vipendra</h3>


    <div style="color: red">


            This is Rahul</h3>







Further Readings

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.