HTML Quirks
HTML contains many features that can make it a difficult language to use. For example, the following code would work but probably would not give you the results you wanted:
<h1>Hello, world <p>How are you today?</p> |
The missing end tag </h1> is added implicitly at the end of the document, meaning that both lines would be presented in the h1 style, not just the first line. Another problem with HTML is that there is no easy way to create an application to validate HTML documents to find errors such as the one shown above.
Keeping your document well formed will help prevent these types of problems. When you create a document, you will need to make sure that tags are positioned correctly so that you get the results you want. With these HTML basics in mind, you are ready to build an XML Web application using XML Notepad.