Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
div tag
07-14-2007, 10:06 AM
Post: #1
div tag
what actually div tag means.
wat its advantages.
how to apply in a web page.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-15-2007, 09:05 AM
Post: #2
RE: div tag
Div tag is used to define a logical section in HTML. With div tag you can group large sections together and format them with the help of CSS. Now div tag is mainly used with CSS to create the layouts of an HTML page. Div tags are the best alternatives for the tables to create layouts.

World Wide Web Consortium (W3C) recommends the use of divs over tables. If you want to meet the w3c accessibility guidelines you need to use DIVs.

Eg:

PHP Code:
<DIV>
This is a section.
</
DIV>

<
DIV style="text-align:center">
This is a centrally aligned section.
</
DIV
Find all posts by this user
Quote this message in a reply
07-15-2007, 09:44 AM
Post: #3
RE: div tag
Please make your post in relevant categories. Moving to HTML forum.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2010, 10:28 AM
Post: #4
RE: div tag
DIV is broadly used in the designing but at the same time you can use it in the CSS also. Basically it is used for making the sections in the pages of the website and giving the partition to the contain of the page.
Find all posts by this user
Quote this message in a reply
07-01-2010, 10:25 AM (This post was last modified: 07-01-2010 10:28 AM by ritzbhogal.)
Post: #5
RE: div tag
We can divide different areas of web page using div tags. This is a powerful tool and for different applications.
It helps in the maintenance of your site apart from systematizing its contents and as decrease in the ratio of code to content, the web crawlers would be able to find your site’s content pretty easily.

Apply this code for div in web page :

PHP Code:
<div style="color:#00FF00">
This is a header
</div
Find all posts by this user
Quote this message in a reply
11-30-2010, 03:04 AM
Post: #6
RE: div tag
There can be divided into different areas of the web page for the div tag. This is a powerful tool and a variety of applications. DIV is widely used in design, but at the same time, you can also use CSS. Div tags are the best options for the tables to create layouts.
Find all posts by this user
Quote this message in a reply
12-23-2010, 02:53 AM (This post was last modified: 12-23-2010 04:51 AM by alvintroat.)
Post: #7
RE: div tag
- The div tag in XHTML is a tag that defines logical divisions within the content of a page.
- The div tag defines a division or a section in an HTML document.
- The div tag is often used to group block-elements to format them with styles.
Find all posts by this user
Quote this message in a reply
01-29-2011, 06:19 PM
Post: #8
RE: div tag
Div tag has very much important in web design.Div is used to make divisions in your page.Div is more suitable to use than table tag.Div helps to set position of each element on web page.
Find all posts by this user
Quote this message in a reply
03-25-2011, 04:48 PM
Post: #9
RE: div tag
Div tag is used to define a logical section in HTML. With div tag you can group large sections together and format them with the help of CSS. Now div tag is mainly used with CSS to create the layouts of an HTML page. Div tags are the best alternatives for the tables to create layouts.
Find all posts by this user
Quote this message in a reply
04-28-2011, 08:54 AM
Post: #10
RE: div tag
The tag is nothing over a container for other tags. Much like the body tag, Div elements are block elements & work behind the scenes grouping other tags together. Use only the following attributes together with your div element, anything else ought to be reserved for CSS.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)