Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q3121: What are src, width, and height in the <img> tag?
  • A: Tags
  • B: Elements
  • C: Attributes
  • D: Values
View Answer
C

Q3122: In the <img> tag, what does the src attribute specify?
  • A: The width of the image
  • B: The location of the image file
  • C: The height of the image
  • D: The name of the image
View Answer
B

Q3123: Which of the following is an example of a block element in HTML?
Q3124: What is the behavior of inline elements in an HTML document?
  • A: They start on a new line
  • B: They are displayed without starting a new line
  • C: They are invisible
  • D: They create a new paragraph
View Answer
B

Q3125: Fill in the blank: An HTML element can have multiple ______ before the end tag.
  • A: lines
  • B: headings
  • C: elements
  • D: images
View Answer
C

Q3126: How do you save a file as an HTML document in Notepad?
  • A: Save as .txt
  • B: Save as .doc
  • C: Save as .html
  • D: Save as .exe
View Answer
C

Q3127: After saving an HTML file, how do you view it in a browser?
  • A: Right-click and open with Notepad
  • B: Double-click the file
  • C: Open with a word processor
  • D: Save as a text document
View Answer
B

Q3128: Fill in the blank: To represent the content of the page visible to the end user, we use the tags <body> and ______.
  • A:
  • B:
  • C:

  • D:

View Answer
B

Q3129: Which HTML tags are used to represent content that starts on a new line in a browser?
  • A: Inline elements
  • B: Block elements
  • C: List elements
  • D: Script elements
View Answer
B

Q3130: Fill in the blank: To create an HTML page using Notepad, you start by opening a ______.
  • A: web browser
  • B: text editor
  • C: graphic editor
  • D: database
View Answer
B

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now