Which of the following statement is not true? [code]

Which of the following statement is not true?
Code:
A. XHTML DOCTYPE is mandatory
B. The xmlns attribute in <html> is mandatory
C. <html>, <head>, <title>, and <body> are mandatory
D. None of the mentioned
 
Answer: d
Explanation: XHTML is a markup language. There are certain terms and conditions (rules and regulations) for it. There are as: 1) In XHTML, the DOCTYPE is compulsory, 2) Xmlns attribute in <html> in manndatory, 3) The basic building blocks of markup i.e. <html>, <head>, <title>, and <body> are must in one. 4) Last but not least, XHTML is case sensitive where as HTML is case in-sensitive.
 

Tìm kiếm

Back
Top