Jump to content

XML parsers


Yazidove
 Share

Recommended Posts

Can any one tell me that what is XML parsers.

I read it from here:

Empty HTML Elements

HTML 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...