DEVFYI - Developer Resource - FYI

What is XHTML

J2EE Interview Questions and Answers (Part 2)


(Continued from previous question...)

333. What is XHTML

An XML look-alike for HTML defined by one of several XHTML DTDs. To use XHTML for everything would of course defeat the purpose of XML, because the idea of XML is to identify information content, and not just to tell how to display it. You can reference it in a DTD, which allows you to say, for example, that the text in an element can contain < em > and < b > tags rather than being limited to plain text.

(Continued on next question...)

Other Interview Questions