Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Does all HTML tags have end tag?

user-image
Question added by Mohd Nadeem Mohd Rehman Mohammed , Software Engineer , Softworx Technologies
Date Posted: 2016/10/15
ali ibrahim Yousry
by ali ibrahim Yousry , Sharepoint Expert-Frontend Developer Consultant , جامعة الإمام محمد بن سعود الإسلامية‎

no some tags in html + html5 no need to close with end tags it's closed by self like: </br> , </hr>, <!DOCTYPE html>, and some tags closed with ( / ) like: <link href="css/new_ar.css" rel="stylesheet" /> ,    <meta http-equiv="X-UA-Compatible" content="IE=10" />.

i hope my answer helpful.

thanks.

you can vist my page here: http://www.alywebdesigner.hoxty.com/index.html

Bassam Ali Mohammed Al-mamari
by Bassam Ali Mohammed Al-mamari , مساعد الرصد والتقييم , برودحي سيستمز

thank you for invitation

most of them but not all of them are ending with closing tag.

Awwab Ahmed
by Awwab Ahmed , Web-Developer, Graphic-Designer. , Conobio

No, they are some tag which don't have end tag <br> <input>

aniket kavlekar
by aniket kavlekar , Software Engineer / Web Developer , Hexagon Capability Center Private Limited

No all the elements in HTML do not require a end tag. For instance void elements and single ton tags do not require a end tag to be valid. 

example: 

<area>, <base>, <br>, <command>

Ibrahem  Emran
by Ibrahem Emran , computer , Retal academy school

no, there are some tage in html such as <br> hs no close tag 

 

Pathan Zarrar Khadar Khan
by Pathan Zarrar Khadar Khan , Windows System Administrator , Dyce Tech Pvt Ltd

No All HTML tags Have a end tag but some tags you can use without end tag one of them  is <b>

Fahad Malik
by Fahad Malik , iOS Developer , AcclivousByte

NO there are many tags which you can close only by putting/ at the end of opening tag

Reshma Nambiar
by Reshma Nambiar , Business Analyst , Paragon Shipping & Logistics

No. Some tags in HTML doesnt require a closing tag however it is a good practice to have the closing tags so that the html page is compatible with future W3C standards regulations.

AHMED Saad Hassan
by AHMED Saad Hassan , Web Developer , Lady Egypt tours

most of html tags have ended tag,

for exmple this html tag not have end tag <meta charset="utf-8" /> but <body> have end tag </body>

Arpit Sharma
by Arpit Sharma , Graphic Designer/Web Designer/Web Developer , EduFin Solutions LLP.

No, There are some tags in Html that you don't want to close.

خالد بوصفارة
by خالد بوصفارة , SERVICE TECHNICIAN , QUALITE SYS

all tags are closed using this symbol > ... but not necessary and end tag .. when you use an input for example : <input type="text" > or <input type="text" />

More Questions Like This