Fundamentals of Front End Development MCQs with Answers
Practice important Fundamentals of Front End Development MCQs with answers and explanations.
Multiple Choice Questions
Q91: How many heading tags are there in HTML?
- A: 3
- B: 5
- C: 6
- D: 7
View Answer
C
Q92: How is an HTML paragraph defined?
- A:
My Paragraph.
- B:
My Paragraph - C:
My Paragraph - D:
My Paragraph
View Answer
A
Q93: Which tag is used to insert an image in an HTML document?
- A:
- B:
- C:
- D:
View Answer
A
Q94: Fill in the blank: HTML documents must start with ______.
- A:
- B:
- C:
- D:
View Answer
C
Q95: Fill in the blank: The HTML tag that defines the visible part of the document is ______.
- A:
- B:
- C:
- D:
View Answer
A
Q96: Fill in the blank: To define an image in HTML, use the ______ tag.
- A:
- B:
- C:
- D:
View Answer
A
Q97: Fill in the blank: The source file for an image in HTML is specified using the ______ attribute.
- A: alt
- B: src
- C: width
- D: height
View Answer
B
Q98: What attributes are commonly used with the <img> tag?
- A: src, alt, width, height
- B: href, target, width, height
- C: src, color, width, height
- D: alt, src, size, color
View Answer
A
Q99: What is the purpose of the <!DOCTYPE html> declaration?
- A: To define the document type and HTML version
- B: To start the body of the document
- C: To include JavaScript
- D: To insert a heading
View Answer
A
Q100: What does an HTML element consist of?
- A: Start tag only
- B: End tag only
- C: Start tag, content, and end tag
- D: Only content
View Answer
C