-
Which of the following statement is true?
-
- Attribute values should not be quoted
- Attribute minimization is mandatory
- Attribute names must be in uppercase
- Attribute values must be quoted
- None of these
Correct Option: D
HTML is hypertext markup language. There are many rules and regulations in HTML for attribute specification. HTML is case in-sensitive and thus we can write attribute name in either uppercase or lowercase, none of it is going to make difference. There is nothing like that atrribute name should be minimized, we can write attribute name as long as and as short as we want. The only rule for attribute name is that it should be in quoted form.