HTML Attributes MCQ Questions and Answers

HTML Attributes MCQs : This section focuses on "Attributes" of Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

1. How many core attributes that can be used on the majority of HTML elements?

A. 1
B. 2
C. 3
D. 4

View Answer


2. The ______ attribute of an HTML tag can be used to uniquely identify any element within an HTML page.

A. Title
B. id
C. Class
D. Style

View Answer


3. The title attribute gives a suggested title for the element.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


4. How many internationalization attributes there?

A. 1
B. 2
C. 3
D. 4

View Answer


5. The _________ attribute allows you to indicate to the browser about the direction in which the text should flow. 

A. lang
B. xml:lang
C. both a and b
D. dir

View Answer


6. The value of the xml:lang attribute should be an ________ country code.

A. ISO-638
B. ISO-639
C. ISO-640
D. ISO-641

View Answer


7. What can be used to verify a displayed graphics?

A. Property checkpoints
B. Region checkpoints
C. On-Screen Action
D. Local STorage

View Answer


8. Which of the following does not lie under the attribute of <input> and is not supported by Opera?

A. url
B. time
C. tel
D. option

View Answer


9. What does wrap attribute denote?

A. Whether the text is in bold
B. Whether the text is wrapped
C. Whether the text is in italics
D. Whether the text is highlighted

View Answer


10. The lang attribute allows you to indicate the main language used in a document.

A. Yes
B. No
C. Can be yes or no
D. Can not say

View Answer





Discussion


* You must be logged in to add comment.