Which of the following is not a correct (X)HTML rule?

Which of the following is not a correct (X)HTML rule?
A. Attributes should be quoted
B. Tags should not nest tag
C. Attribute minimization is forbidden
D. Unknown attributes are not ignored by the browser
 
Answer: d
Explanation: Rules of XHTML are as- 1) XHTML elements must be properly nested
2) XHTML elements must always be closed
3) XHTML elements must be in lowercase
4) XHTML documents must have one root element
5) Attribute names must be in lower case
6) Attribute values must be quoted
7) Attribute minimization is forbidden
 

Tìm kiếm

Back
Top