+ 1
In html we use start tag and ending tag....but if we dont write ending tag then it will work...then why we should use ending tag
example<html> </html>.....here if we donot write </html> then it will work then why need of using ending tag
3 odpowiedzi
+ 6
Because html standards. Html ”skeleton” is mandatory so some browers does it for you. Try to use anchor tag without ending and you see what happens.
+ 1
thanks🙂
0
Also, it may work, but is not guaranteed to work. If we write without following the language rules, it will probably fail sometimes.