Can I use the same div tag multiple times on a page?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kim Leland
    New Member
    • Feb 2011
    • 2

    Can I use the same div tag multiple times on a page?

    I am building a product sheet, with a photo (float left) and simple text to the right inside two div tags for a product.

    And it repeats with each new product.

    Can I just use the same div tag or do I have to copy the original one and rename it 1, 2, 3, etc.?
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    A div element is a generic container and can be used any number of times on a page. To identify each div, you can give them a unique 'id' name but each id must not repeat.

    Comment

    • Samishii23
      New Member
      • Sep 2009
      • 246

      #3
      Any tags can be repeated any number of times as the user pleases.

      Comment

      • Kim Leland
        New Member
        • Feb 2011
        • 2

        #4
        Thank you very much.

        Comment

        Working...