Saturday, November 27, 2021

Tough guys use XHTML

Three Web developers were sitting around arguing over what the most abundant thing on the Internet is.

The first one said, “It must be free music.”

The second one said, “Nahh…it’s got to be spam e-mail.”

The third one said, “It has to be porn.”

About that time, a Linux user overheard the conversation and decided to throw in his two cents. “All three of you are wrong. The most abundant thing on the Internet is bad code.”

XHTML, when created with the aid of a decent validation tool, helps enforce a stricter set of coding standards than most Web pages adhere to. The following can be said about an XHTML document: it is well-formed, it is both HTML and XML at the same time; and it is an HTML document that adheres to XML syntax rules.

To be valid, an XHTML document must have:

Would you recommend this article?

Share

Thanks for taking the time to let us know what you think of this article!
We'd love to hear your opinion about this or any other story you read in our publication. Click this link to send me a note →

Jim Love, Chief Content Officer, IT World Canada

Related Tech News