-->

HTML div tag

HTML <div> tag

HTML <div> tag




HTML div tag:

This is a Double tag. <div> This is the beginning tag and </div> This is the closing tag. This <div> element use to be defines a division or a section in an HTML document. This <div> tag usually use as a container for other HTML tag to style them within CSS or to accomplish indicated tasks with JavaScript. It's use as for making style for other HTML, CSS orb JavaScript.

<div>=division or a section.
Copy this code and past your page.




Example:

Result:

This is normal text.

Example:

Result:


HTML div element

Note: used various kinds of attributes in div tag.




Support Browser
HTML <div> tag
Browser
HTML <div> tag
Google 
 Chrome  
HTML <div> tag
Internet
Explorer
HTML <div> tag
Firefox
HTML <div> tag
Opera  
HTML <div> tag
 Safari   
<div>
YesYes Yes Yes  Yes



  • Html Version Differenc: Differences Between HTML 5 and 4.01.
In HTML5 the align attribute not supported.


If you want to make more style your codes using, use HTML <div> tag.


1. What is the <div>tag ?

2. What is the using for <div> tag ?


3. What is the definition of <div> tag ?


4. What is the <strong> tag mean ?


5.How can You make style for other HTML, CSS orb JavaScript.using HTML?
Facebook Comments

Follow by Email