+ 2
Do all HTML elements have end tags?
Digging deep into HTML elements most people ignore simple basics that end up messing their codes.
11 Answers
+ 5
no, not all .. there are so called "void elements" like :
<area>
<br>
<img>
<link>
<meta>
but notice that you need an ending slash if you are writing in XHTML.
so for example in XHTML you must use <br /> instead of <br> !
+ 5
markup language use tags to define functions but i m not sure whether you need it every time
+ 3
Yeah.. Not all elements have end tags
+ 2
Not all of them - IMG for example does not. HTML5 made the structure of the document easier to understand, but you are right, most of the stuff out there is a mess.
+ 2
No. In any markup language tags are classified into two types:
i)container tags: Which have opening and closing tags and also supports other tags within them. eg: <p>, <head>, <body> etc.
ii)empty tags: The tags which don't have or support any other tags. eg. <br>,<img> etc
+ 2
Not all
0
No. Some has but not all others.
0
No not all
0
Not all,,but most have