Malformed HTML Tag

Q: What happens when HTML tags are specified incorrectly (malformed)?

A: The Web browser displays what was meant to be HTML formatting codes as text on the Web page. Depending on which and how many HTML tags are malformed, the Web page may display poorly or in some cases not at all.

In the screen shot below, note that the table row tag, <tr> is missing the leading less than sign "<". As a result, the browser interprets it as regular text and displays it on the Web page.

Using an HTML syntax checking program as part of a Web testing effort would have caught this bug.


Copyright © 1994-2008 Testware Associates Inc.