The Fix XHTML Structural Errors Feature
How Much Harm Can an Invalid Tag Do?
Plenty! Within the HTML framework, invalid tags weaken the structure of your document. Failure to comply with the rules on how tags need to be ordered, placed, and closed can cause Web sites to display pages incorrectly. And invalid tags do not comply with accepted Web standards in any way, shape or form.
The Solution
ArtinSoft Web Optimizer handles 3 types of conversions: fixing invalid tag structure, fixing shuffled tags, and fixing unclosed tags. This Aggiorno Transformation uses the XHTML 1.0 Transitional DOCTYPE as a reference.
Fix invalid tag structure
Tags in Web pages need to follow certain consistency rules. All opened tags need to be closed following a tree structure. In other words, the last opened tag is the first one to be closed. Web Optimizer automates some of the assertions.
Fix shuffled tags
Shuffled tags, commonly referred to as a “tag soup”, are similar to having an invalid tag structure. It’s usually fixed by shuffling back the closing or opening tags, but sometimes a more complex transformation is needed. ArtinSoft Web Optimizer spots these syntactic errors and assists you with fixing them.
Fix unclosed tags
All tags must be closed in XHTML. Depending on the tag, a separate tag or self-closing tag can be used. This Web Optimizer Transformation detects where a tag should have been closed and allows you to close them before they adversely affect the site. This process lets other aggiornings do their work faster.
The following table’s unclosed tags were closed correctly using this Web Optimizer Transformation.