Tag Soup

In Web development, "tag soup" refers to formatted markup written for a web page that is very much like HTML but does not consist of correct HTML syntax and document structure. Because web browsers have historically treated HTML syntax or structural errors leniently, there has been little pressure for web developers to follow published standards, and therefore there is a need for all browser implementations be able to treat what looks like HTML as "tag soup", accepting and correcting for invalid syntax and structure.

An HTML parser (part of a web browser) that is capable of interpreting HTML-like markup even if it contains invalid syntax or structure may be called a tag soup parser. All major web browsers currently have a tag soup parser for interpreting malformed HTML.

"Tag soup" may collectively refer to a large number of common authoring mistakes, such as malformed HTML tags, improperly-nested HTML elements, and unescaped character entities (especially ampersands (&) and less-than signs (<)).

I have used this term in my instruction for years to characterize the jumble of angle brackets acting like tags in HTML in pages that are accepted by browsers. Improper minimization, overlapping constructs ... stuff that looks like SGML markup but the creator didn't know or respect SGML rules for the HTML vocabulary. In effect a soupy collection of text and markup. I've never seen the term defined anywhere. —G. Ken Holman, Re: What is Tag Soup?, XML development mailing list, 11 Oct 2002.

The Markup Validation Service is a resource for web page authors to avoid creating tag soup.

Read more about Tag Soup:  Overview, Evolving Specifications To Solve Tag Soup

Famous quotes containing the words tag and/or soup:

    I believe in the flesh and the appetites,
    Seeing, hearing, feeling, are miracles, and each part and tag of me
    is a miracle.

    Divine am I inside and out, and I make holy whatever I touch or am touch’d from,
    The scent of these arm-pits aroma finer than prayer,
    This head more than churches, bibles, and all the creeds.
    Walt Whitman (1819–1892)

    If women were umpiring none of this [rowdyism] would happen. Do you suppose any ball player in the country would step up to a good-looking girl and say to her, “You color- blind, pickle-brained, cross-eyed idiot, if you don’t stop throwing the soup into me I’ll distribute your features all over you countenance!” Of course he wouldn’t.
    Amanda Clement (1888–1971)