Yazidove Posted May 6, 2015 Share Posted May 6, 2015 Can any one tell me that what is XML parsers. I read it from here: Empty HTML ElementsHTML elements with no content are called empty elements. <br> is an empty element without a closing tag (the <br> tag defines a line break). Empty elements can be "closed" in the opening tag like this: <br />. HTML5 does not require empty elements to be closed. But if you want stricter validation, or you need to make your document readable by XML parsers, you should close all HTML elements. Thank You Link to comment Share on other sites More sharing options...
Ingolme Posted May 6, 2015 Share Posted May 6, 2015 An XML parser is a program that reads XML In XML, all elements must be closed, even empty elements. Empty elements are closed with a / at the end of the tag, such as <br />. Link to comment Share on other sites More sharing options...
Yazidove Posted May 8, 2015 Author Share Posted May 8, 2015 Thank You Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now