This well-formed and valid XHTML document contains a style element with the contents enclosed in a CDATA section. This is the correct way to write the contents of a style or script element in XHTML, but user agents don't understand it when they're treating the page like HTML, and so the contents are basically ignored. When sent as application/xhtml+xml
, this paragraph has a light green background.