Html: 18 MCQs
All 18 multiple-choice questions from this kit, free and with no sign-up.
Warm-up · 13 questions
Q1. Which HTML element is used to define the root of an HTML document?
BeginnerAnswers and explanations are in the Veda app.
Q2. What is the purpose of the <head> element in an HTML document?
BeginnerAnswers and explanations are in the Veda app.
Q3. Which attribute is used to specify a unique identifier for an HTML element?
BeginnerAnswers and explanations are in the Veda app.
Q4. What does the <a> element require to create a hyperlink?
BeginnerAnswers and explanations are in the Veda app.
Q5. Which HTML element is used to insert a line break?
BeginnerAnswers and explanations are in the Veda app.
Q6. What is the correct way to comment in HTML?
BeginnerAnswers and explanations are in the Veda app.
Q7. Which HTML element is used to define a table row?
BeginnerAnswers and explanations are in the Veda app.
Q8. Which element is used to define a list item in an unordered list?
BeginnerAnswers and explanations are in the Veda app.
Q9. What is the purpose of the 'src' attribute in the <img> element?
BeginnerAnswers and explanations are in the Veda app.
Q10. Which HTML element is used to define a paragraph?
BeginnerAnswers and explanations are in the Veda app.
Q11. Which element is used to define a heading of the highest level?
BeginnerAnswers and explanations are in the Veda app.
Q12. The <title> element is placed inside the <body> element.
BeginnerAnswers and explanations are in the Veda app.
Q13. HTML attributes provide additional information about elements and are always specified in the opening tag.
BeginnerAnswers and explanations are in the Veda app.
Building up · 5 questions
Q14. Which attribute is used to provide alternative text for an image in the <img> element?
IntermediateAnswers and explanations are in the Veda app.
Q15. What is the difference between <div> and <span> elements?
IntermediateAnswers and explanations are in the Veda app.
Q16. What does the 'target' attribute do in an <a> element?
IntermediateAnswers and explanations are in the Veda app.
Q17. What does the 'class' attribute do in HTML?
IntermediateAnswers and explanations are in the Veda app.
Q18. The <br> element is a void element and does not require a closing tag.
IntermediateAnswers and explanations are in the Veda app.
Your notes can be a kit like these
Every kit here was made from real study material. Point Veda at a chapter, a PDF, a photo or a link and get notes, flashcards, practice MCQs, games and a scored test — free to start, in more than 40 languages.
- Chapter notes
- Flashcards
- Practice MCQs
- Scored tests
- Paper Solver
Get Veda free See what students get
Free to start · Android app and web · More than 40 languages