Tweet
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    9
    Rep Power
    0

    Default Div tag in HTML

    What is the 'div' tag in HTML and why we use?

    http://www.sukritinfotech.com

  2. #2
    Junior Member Weponz's Avatar
    Join Date
    Oct 2012
    Location
    Sydney, Australia
    Posts
    9
    Rep Power
    0

    Default

    The "div" tag is CSS, check out w3schools for tutorials on CSS.
    www.weponzinc.com | www.showmehowtoblog.com

  3. #3
    Junior Member
    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0

    Default

    <div> is a HTML tag.. <div> tag used for making container in which we write scripts for web designing...

    web design nyc
    Last edited by stephen0; 01-22-2013 at 09:02 AM.

  4. #4
    MFC Member
    Join Date
    Nov 2012
    Location
    Los Angeles, CA
    Posts
    210
    Rep Power
    12

    Default

    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.

  5. #5
    MFC Member webcreations's Avatar
    Join Date
    May 2012
    Location
    india
    Posts
    430
    Rep Power
    13

    Default

    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

  1. which is best and user friendly html 5 or html 4 ?
    By ayushiinfotech in forum Web Design and Development
    Replies: 7
    Last Post: 09-01-2014, 12:25 PM
  2. html tutorials
    By EvaBrown in forum Web Design and Development
    Replies: 11
    Last Post: 07-30-2013, 12:12 PM
  3. HTML Headings
    By sukritinfotech in forum Web Design and Development
    Replies: 5
    Last Post: 07-30-2013, 12:01 PM
  4. Difference between HTML 5 and HTML 4
    By uren in forum Web Design and Development
    Replies: 14
    Last Post: 07-26-2013, 06:44 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Advertisement

Sponsors




Increase your deposit by 30%. Expand your trading opportunities. Earn more profit!