What is the 'div' tag in HTML and why we use?
http://www.sukritinfotech.com
Results 1 to 5 of 5
Thread: Div tag in HTML
-
09-17-2012, 01:06 PM #1
- Join Date
- Aug 2012
- Posts
- 9
- Rep Power
- 0
Div tag in HTML
-
12-17-2012, 08:53 AM #2
The "div" tag is CSS, check out w3schools for tutorials on CSS.
www.weponzinc.com | www.showmehowtoblog.com
-
01-14-2013, 08:29 AM #3
- Join Date
- Jan 2013
- Posts
- 3
- Rep Power
- 0
<div> is a HTML tag.. <div> tag used for making container in which we write scripts for web designing...
web design nycLast edited by stephen0; 01-22-2013 at 09:02 AM.
-
01-14-2013, 09:38 AM #4
- Join Date
- Nov 2012
- Location
- Los Angeles, CA
- Posts
- 210
- Rep Power
- 12
The <div> tag in XHTML is a tag that defines logical divisions within the content of a page. What this means is that a <div> tag defines sections of a Web page to make it easier to manage, style, and manipulate. You can use the <div> tag when you want to center a block of content or position a content block on the page. The <div> tag is a very powerful tool for Web developers.
Example :
This is some text <div style="color:#FF0000;">
<h4>This is a header in a div section</h4>
<p>This is a paragraph in a div section</p>
</div>Looking for the latest information on mortgage rates? Get a loan you love by visiting LoanLove.com and learn from our helpful experts.
-
07-30-2013, 12:07 PM #5
The <div> tag defines a division or a section in an HTML document.
The <div> tag is used to group block-elements to format them with CSS.
Similar Threads
-
which is best and user friendly html 5 or html 4 ?
By ayushiinfotech in forum Web Design and DevelopmentReplies: 7Last Post: 09-01-2014, 12:25 PM -
html tutorials
By EvaBrown in forum Web Design and DevelopmentReplies: 11Last Post: 07-30-2013, 12:12 PM -
HTML Headings
By sukritinfotech in forum Web Design and DevelopmentReplies: 5Last Post: 07-30-2013, 12:01 PM -
Difference between HTML 5 and HTML 4
By uren in forum Web Design and DevelopmentReplies: 14Last Post: 07-26-2013, 06:44 AM