Try our "Help Me AI"
Results 1 to 3 of 3

Thread: Do all HTML tags have end tag?

  1. #1
    Status
    Offline
    Moana's Avatar
    Reputed Member
    Join Date
    May 2018
    Location
    Vavuniya Srilanka
    Posts
    1,569
    Blog Entries
    5
       Rep Power
    17

    Do all HTML tags have end tag?

    Hello Guys,

    HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content.
    Most tags must have two parts an opening and a closing part.


    I have a doubt do every HTML tags have end tag?
    Your Last Mistake Is Your Best Teacher

  2. #2
    Status
    Offline
    Shana's Avatar
    Reputed Member
    Join Date
    Apr 2018
    Posts
    757
       Rep Power
    16
    Quote Originally Posted by Shivani View Post
    Hello Guys,

    HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content.
    Most tags must have two parts an opening and a closing part.


    I have a doubt do every HTML tags have end tag?
    Most of the time, yes! But some like <hr>(horizontal line) and <br> (break)don't need a closing tag. They work just fine as they are.

  3. #3
    Status
    Offline
    Lorraine's Avatar
    Reputed Member
    Join Date
    May 2018
    Posts
    402
    Blog Entries
    1
       Rep Power
    16
    Quote Originally Posted by Shivani View Post
    Hello Guys,

    HTML tags are the hidden keywords within a web page that define how your web browser must format and display the content.
    Most tags must have two parts an opening and a closing part.


    I have a doubt do every HTML tags have end tag?
    .
    Most of all html tags have end tags! But tags like

    1. <img> for image
    2. <input>
    3. <br> or </br> though it is deprecated self-closing tags mostly render properly with the browser even if they are not closed. But when you are coding you should follow best coding practices. So it is something good you follow in coding.
    Try to be Dynamic and Independent

Similar Threads

  1. How to fix RankMath Canonical tags issue?
    By Bhavya in forum Programming
    Replies: 1
    Last Post: 03-08-2022, 05:52 PM
  2. Replies: 4
    Last Post: 10-23-2018, 04:21 PM

Tags for this Thread

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
  •  
Who We Are

The Hub Sri Lanka is an online community portal for all the Sri Lankan digital Citizen's to enthusiastically learn and connect with the society by enormously increasing their knowledge and careers through an extensive collaborative marketplace.

Join us
RSS RSS 2.0 XML MAP HTML