Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Does all HTML tags have end tag?

user-image
Question ajoutée par Mohd Nadeem Mohd Rehman Mohammed , Software Engineer , Softworx Technologies
Date de publication: 2016/10/15
ali ibrahim Yousry
par 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
par Bassam Ali Mohammed Al-mamari , مساعد الرصد والتقييم , برودحي سيستمز

thank you for invitation

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

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

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

aniket kavlekar
par 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
par Ibrahem Emran , computer , Retal academy school

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

 

Pathan Zarrar Khadar Khan
par 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
par 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
par 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
par 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
par 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.

خالد بوصفارة
par خالد بوصفارة , 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