HTML MCQ is a test designed to assess the knowledge of HTML. There are questions that are designed to test your understanding of HTML code, which is what you would use to build a website.
The questions are multiple choice and they range in difficulty from very easy to difficult. You will be asked questions about HTML tags, attributes, and values.
Multiple Choice Questions and Answers
1. HTML is acronym for?
- Hyper Transfer Makeup Language
- Hyper Text Markup Language
- Higher Text Markup Language
- High Text Marker Language
Answer :-Â Hyper Text Markup LanguageÂ
2. HTML tags are enclosed in?
- Curly brackets
- Square brackets
- Double quotes
- Angular brackets
Answer :- Angular brackets
3. Advantages of using HTML is thatÂ
- Its is easier to use
- All browsers can display the document
- It works on all platfrom
- All of the above
Answer :- All of the above
4. Which of the following is no a container elements?
- <HR>
- <P>
- <OL>
- <B>
Answer :- <HR>
5. HTML tags are?
- In uppercase
- Case sensitive
- Not case sensitive
- In lowercase
Answer :- Not case sensitive
6. An Example of HTML editor is?
- Notepad
- Microsoft Visual Studio
- Dreamweaver
- All of the these
Answer :- All of the these
7. A Coded HTML command that indicates how part of a web page is displayed is called?
- Attribute
- Style
- Tag
- All of the these
Answer :- Tag
8. The tags that require a starting as well as ending tag are called?
- Twin element
- Empty element
- Container element
- Pair element
Answer :- Container element
9. Which of the following will produce a solid circle bullet when given as value of type with <UL>?
- Disc
- Square
- Circle
- Dots
Answer :- Disc
10. Which types of tags are used by HTML?
- Tags only for linking
- Fixed tags defined by the language
- User defined tags
- Tags only for hypertext
Answer :- Fixed tags defined by the language
11. You write HTML code in?
- Word
- Browser
- Notepad
- None of these
Answer :- Notepad
12. To create an HTML page, you need
- Text editor
- Web browser
- Both (a) and (b)
- None of these
Answer :- Text editor
13. Which of the following tags identifies the document as an HTML document ?
- <HEAD>
- <BODY>
- <P>
- <HTML>
Answer :- <HTML>
14. To define the basic font size which of the following tag is used ?
- Font
- Basefont
- Size
- All of these
Answer :- Basefont
15. Every HTML document must include the tagsÂ
- <HTML></HTML> & <HEAD></HEAD>
- <HTML></HTML> & <BODY></BODY>
- <HTML></HTML> & <TITLE></TITLE>
Answer :- <HTML></HTML> & <HEAD></HEAD>
16. Choose the correct HTML tags to make a text italic
- <i>
- <il>
- <ip>
- <ii>
Answer :- <i>
17. Choose the correct HTML tag for the largest heading
- <H4>
- <H6>
- <H1>
- <H2>
Answer :- <H1>
18. The attribute used to choose the type font in HTML is?
- Character
- Face
- Font-type
- Text-type
Answer :- Face
19. A tag is ?
- VB command
- C++ command
- Table command
- HTML command
Answer :- HTML command
20. All normal webpages consist of what two parts?
- Top and bottom
- Body and Frameset
- Head and body
Answer :- Head and body
21. Beside, <B> Another way to make text bold is what ?
- <dark>
- <fat>
- <foot>
- <strong>
Answer :- <strong>
22. The <Title> tag belongs where in your HTML ?
- Head
- Arm
- Body
- Foot
Answer :- Head
23. Which attribute is not valid for <BODY> Tag?
- color
- vlink
- leftmargin
- background
Answer :- color
24. Factors that affect how an HTML document looks on the monitor do not includeÂ
- HTML tags
- Operating system
- Window size
- Color depth
Answer :- HTML tags