Html miscellaneous
- For entity which term is used by XML?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
“character entity reference” term is not used by XML instead XML defines five “predefined entities” which are & [&], < [<], > [>], " [“] and ' [‘].
- What is the format for character entity reference?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The format for character entity reference is &name; name is case-sensitive alphanumeric string and semicolon is necessary.
- What is the correct format of numeric character reference?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Numeric character reference uses the format nnnn, nnnn represents decimal format. We can also use hhhh in place of nnnn for hexadecimal form and its syntax will be like hhhh; In XML documents use nnnn; semicolon is mandatory.
- Syntax of entity declaration is ___________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Character entity reference declaration is done by syntax <!entity name “value”> in HTML and in XML. This syntax is define in Document Type Definiton(DTD).
- Use of checked attribute is ____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
checked is use with <command>, <input> elements and it indicates if element is checked on loading of the page or not.