Magento Expert Forum - Improve your Magento experience

Results 1 to 7 of 7

Do all HTML tags come in pair?

  1. #1

  2. #2
    Junior Member clapcreative's Avatar
    Join Date
    Jul 2015
    Location
    149 Mcafee court , Thousand Oaks CA 91360
    Posts
    115
    Thanks
    3
    Thanked 6 Times in 6 Posts

    Default

    All tag come in pairs except for Void elements, which at the time of this writing include: area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, and wbr.

  3. #3
    Junior Member Jesica's Avatar
    Join Date
    Jun 2016
    Location
    India
    Posts
    109
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I think you can say. because most tag follow this platform.

  4. #4
    Junior Member
    Join Date
    Oct 2016
    Posts
    984
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default

    Most of tags are come in pair but some of tags are not required closing tags. These tags are called self closing tags. For example, <hr>, <br>

  5. #5
    Junior Member
    Join Date
    Feb 2016
    Posts
    42
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    Yes most of the tags require closing pair.

  6. #6
    Junior Member
    Join Date
    Oct 2016
    Location
    MONA TILES COMPOUND, NR. CHHANI CIRCLE, CHHANI ROAD, VADODARA - 390002. GUJARAT, INDIA.
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    try to use <i> or <div>

  7. #7
    Junior Member ClickPoint's Avatar
    Join Date
    Mar 2016
    Location
    Bangalore, India
    Posts
    18
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Yes most of the tags comes in pair element, not all. Tags like <br> <p> are not pair, but tags like <tr><td><col><b> etc comes under pair elements.

Bookmarks

Posting Permissions

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