Host Speech Sponsors

+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    what is div in html with example ?

    what is div in html with example

  2. #2
    Host Speech Heart
    Join Date
    Apr 2016
    Location
    USA
    Posts
    1,066
    The <div> tag characterizes a division or a segment in a HTML report. The <div> tag is utilized to amass piece components to organize them with CSS.

  3. #3
    Host Designer
    Join Date
    Nov 2017
    Posts
    194
    The HTML <div> tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.The div tag is used with blocklevel elements.The <div> tag is used to group block-elements to format them with CSS.

    EXAMPLE:-

    <div style="color:#0000FF">
    <h3>This is a heading</h3>
    <p>This is a paragraph.</p>
    </div>

  4. #4
    Host Designer
    Join Date
    Nov 2017
    Posts
    194
    The HTML <div> tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.The div tag is used with blocklevel elements.The <div> tag is used to group block-elements to format them with CSS.

    EXAMPLE:-

    <div style="color:#0000FF">
    <h3>This is a heading</h3>
    <p>This is a paragraph.</p>
    </div>


 

Posting Permissions

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