ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Does all HTML tags have end tag?

user-image
تم إضافة السؤال من قبل Mohd Nadeem Mohd Rehman Mohammed , Software Engineer , Softworx Technologies
تاريخ النشر: 2016/10/15
ali ibrahim Yousry
من قبل 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
من قبل Bassam Ali Mohammed Al-mamari , مساعد الرصد والتقييم , برودحي سيستمز

thank you for invitation

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

Awwab Ahmed
من قبل Awwab Ahmed , Web-Developer, Graphic-Designer. , Conobio

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

aniket kavlekar
من قبل 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
من قبل Ibrahem Emran , computer , Retal academy school

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

 

Pathan Zarrar Khadar Khan
من قبل 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
من قبل 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
من قبل 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
من قبل 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
من قبل 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.

خالد بوصفارة
من قبل خالد بوصفارة , 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" />

المزيد من الأسئلة المماثلة