Magento Expert Forum - Improve your Magento experience

Results 1 to 8 of 8

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
    106
    Thanks
    3
    Thanked 5 Times in 5 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
    Join Date
    Jun 2016
    Location
    India
    Posts
    31
    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
    Aug 2016
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    you try to use <i> or <div>

  5. #5
    Junior Member
    Join Date
    Oct 2016
    Posts
    124
    Thanks
    0
    Thanked 2 Times in 2 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>

  6. #6
    Junior Member
    Join Date
    Feb 2016
    Posts
    31
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default

    Yes most of the tags require closing pair.

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

    Default

    try to use <i> or <div>

  8. #8
    Junior Member ClickPoint's Avatar
    Join Date
    Mar 2016
    Location
    Bangalore, India
    Posts
    19
    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
  •