Creating Web Pages HTML MCQs
Creating Web Pages – HTML MCQs with Answers & Explanations
Class: CBSE Class 7
Subject: Computer Science
Section: HTML and Web Designing
Topic: Creating Web Pages Using HTML
Board: CBSE – Based on NCERT Syllabus
Subject: Computer Science
Section: HTML and Web Designing
Topic: Creating Web Pages Using HTML
Board: CBSE – Based on NCERT Syllabus
Q1. What is the first step in creating a web page?
Answer: B
Explanation: A web page begins with writing HTML code which structures the content.
Explanation: A web page begins with writing HTML code which structures the content.
Q2. Which software is commonly used to create HTML pages?
Answer: A
Explanation: Simple text editors like Notepad are used to write HTML code.
Explanation: Simple text editors like Notepad are used to write HTML code.
Q3. HTML files are saved with extension?
Answer: B
Explanation: Web pages must be saved with .html or .htm extension.
Explanation: Web pages must be saved with .html or .htm extension.
Q4. Which browser can open web pages?
Answer: B
Explanation: Browsers interpret and display HTML pages.
Explanation: Browsers interpret and display HTML pages.
Q5. Which tag starts an HTML document?
Answer: B
Explanation: The <html> tag is the root of every web page.
Explanation: The <html> tag is the root of every web page.
Q6. Which section contains page information?
Answer: B
Explanation: Metadata like title is stored inside <head>.
Explanation: Metadata like title is stored inside <head>.
Q7. Visible content is placed inside?
Answer: B
Explanation: The body displays text, images, tables etc.
Explanation: The body displays text, images, tables etc.
Q8. Correct order of basic HTML structure?
Answer: B
Explanation: Standard structure: html → head → body.
Explanation: Standard structure: html → head → body.
Q9. Which tag defines page title?
Answer: A
Explanation: It appears on browser tab.
Explanation: It appears on browser tab.
Q10. Web pages are viewed using?
Answer: B
Explanation: Browsers render HTML visually.
Explanation: Browsers render HTML visually.
Q11. Default homepage file name?
Answer: B
Default landing page.
Default landing page.
Q12. Tag for inserting image?
Answer: img
Embeds pictures.
Embeds pictures.
Q13. Attribute for image path?
Answer: src
Defines source file.
Defines source file.
Q14. Tag for hyperlink?
Answer: a
Creates clickable links.
Creates clickable links.
Q15. Saving HTML requires?
Answer: Text editor
Code is written & saved.
Code is written & saved.
Q16. HTML is which type of language?
Answer: Markup
Uses tags to mark content.
Uses tags to mark content.
Q17. Tag for line break?
Answer: br
Adds new line.
Adds new line.
Q18. Tag for paragraph?
Answer: p
Defines paragraph.
Defines paragraph.
Q19. Tag closes with?
Answer: /
Example: </html>.
Example: </html>.
Q20. HTML pages are linked through?
Answer: Links
Using anchor tags.
Using anchor tags.
