What do you mean by
our customer's requirement is HTML. What the customer exactly wants?
XHTML IS HTML, but HTML is not (necessarily) XHTML, just like a cow is an animal, but animal is not necessarily a cow. :-)
Thank you for your posting, Ronald.
You gave me the excellent idea that maybe the customer does not know exactly what he needs. Therefore I will try to speak with him on the details of his requirement.
XHTML is a subset of HTML as you wrote.
But, also, it is an extension to HTML.
And to be HTML compatible XHTML has to meet some special requirements (appendix C to W3C specification of XHTML 1.0) .
A decade ago, when W3C recommended XHTML, this standard was thought to replace HTML. However, in fact, XHTML adoption by vendors of browsers is still weak. For example, XHTML has never been adopted by MSIE at all.
So, the standard looks to be only de de jure but not de facto. Usage of this standard (parsing XHTML as HTML)
is used to be discouraged.
I am very sorry I misspelled your name Adrian.
I hope so much that you will excuse me: these were my first postages in this forum!!!
Once more, your posting was an excellent idea for me!