• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 25. Introduction to XML > XML Syntax Basics

25.3. XML Syntax Basics

Browsers will often recover from sloppily written or illegal HTML. This won't be the case with XML documents. A client reading an XML document may be reading tags unique to that document and therefore can't make assumptions about whether or not a tag should be closed. Every XML element must be closed.

Like HTML, XML tags cannot overlap. Overlapping tags look like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint