For each of the following statements, select Yes if the statement is true. HOTSPOTFor each of the following statements, select Yes if the statement is true. Otherwise, selectNo. Each correct selection is worth one point. HOTSPOTFor each of the following statements, select Yes if the statement is true. Otherwise, selectNo. Each correct selection is worth one point. Answer: Explanation: Show Hint ← Previous question Next question →
Christian Zalto The DOCTYPE declaration is not mandatory in XHTML. “XML documents may contain a DOCTYPE if desired, but this is not required to conform to this specification.” https://html.spec.whatwg.org/multipage/xhtml.html#writing-xhtml-documents Reply
Elder Penaghast http://www.w3schools.com/html/html_xhtml.asp This is for XHTML XHTML DOCTYPE is mandatory The xmlns attribute in is mandatory , , , and are mandatory Reply R Agree Reply
DB7 From w3 school The Most Important Differences from HTML: Document Structure XHTML DOCTYPE is mandatory The xmlns attribute in “html” is mandatory “html”, “head”, “title”, and “body” are mandatory Reply
The DOCTYPE declaration is not mandatory in XHTML.
“XML documents may contain a DOCTYPE if desired, but this is not required to conform to this specification.”
https://html.spec.whatwg.org/multipage/xhtml.html#writing-xhtml-documents
http://www.w3schools.com/html/html_xhtml.asp
This is for XHTML
XHTML DOCTYPE is mandatory
The xmlns attribute in is mandatory
, , , and are mandatory
Agree
So what are the good answers now??
From w3 school
The Most Important Differences from HTML:
Document Structure
XHTML DOCTYPE is mandatory
The xmlns attribute in “html” is mandatory
“html”, “head”, “title”, and “body” are mandatory