MCqsfinal
MCqsfinal
HTML" document:
a) Compiler
b) HTML Editor
c) Debugger
d) Assembler
a) Dreamweaver
b) Notepad
c) Microsoft Word
d) Visual Studio Code
a) <html>
b) <head>
c) <body>
d) <doc>
Answer: a) <html>
a) <br>
b) <hr>
c) <p>
d) <img>
Answer: c) <p>
9. Which tag is used for inserting a horizontal line in HTML?
a) <line>
b) <hr>
c) <br>
d) <hline>
Answer: b) <hr>
a) Left
b) Right
c) Center
d) Justified
Answer: a) Left
a) <h6>
b) <h1>
c) <h4>
d) <h3>
Answer: b) <h1>
Answer: b) <a>
a) <image src="image.jpg">
b) <img src="image.jpg">
c) <picture="image.jpg">
d) <insert image="image.jpg">
a) title
b) alt
c) description
d) text
Answer: b) alt
a) Ordered list
b) Unordered list
c) Definition list
d) Bulleted list
Answer: a) <ul>
a) <table>
b) <tab>
c) <td>
d) <th>
Answer: a) <table>
a) rowspan
b) colspan
c) merge
d) span
Answer: b) colspan
a) <input type="text">
b) <textbox>
c) <text>
d) <input box>
a) type="secure"
b) type="hidden"
c) type="password"
d) type="text"
Answer: c) type="password"
24. Which attribute is used to specify that an input field must be filled out?
a) required
b) validate
c) mandatory
d) fillout
Answer: a) required
26. Which of the following input types allows a user to select multiple options?
a) Checkbox
b) Radio button
c) Textbox
d) Dropdown
Answer: a) Checkbox
a) <input type="checkbox">
b) <input type="radio">
c) <radio>
d) <option>
a) GET
b) POST
c) SEND
d) RECEIVE
Answer: a) GET
a) <frame>
b) <frameset>
c) <div>
d) <iframe>
Answer: d) <iframe>
a) To hide frames
b) To provide content for browsers that do not support frames
c) To create multiple frames
d) To resize frames
Here are more MCQs covering slides 1 to 78 from your "Introduction to HTML" document:
a) <p>
b) <div>
c) <br>
d) <span>
Answer: c) <br>
32. Which HTML tag is used to define metadata about the document?
a) <meta>
b) <link>
c) <data>
d) <script>
Answer: a) <meta>
33. What is the function of the <title> tag in HTML?
a) <body background="image.jpg">
b) <background src="image.jpg">
c) <img background="image.jpg">
d) <bg image="image.jpg">
36. Which of the following HTML elements is used for creating bold text?
a) <strong>
b) <b>
c) Both a and b
d) <bold>
a) <i>
b) <italic>
c) <em>
d) Both a and c
39. Which attribute is used in an <img> tag to define the width of the image?
a) size
b) height
c) width
d) dimension
Answer: c) width
40. What is the correct syntax for creating an email link in HTML?
41. How do you specify that a form field must be filled before submission?
a) validate="true"
b) required
c) mandatory
d) fill="true"
Answer: b) required
a) Ordered list
b) Unordered list
c) Definition list
d) Sequential list
a) <dropdown>
b) <select>
c) <list>
d) <options>
Answer: b) <select>
Answer: a) <fieldset>
a) default
b) value
c) placeholder
d) prefill
Answer: b) value
48. What is the correct syntax for specifying the default selected option in a drop-
down list?
a) Red
b) Black
c) Blue
d) Green
Answer: b) Black
53. Which HTML element is used to create a multi-line text input field?
a) <input type="text">
b) <textbox>
c) <textarea>
d) <textfield>
Answer: c) <textarea>
a) A numbered list
b) A bulleted list
c) A definition list
d) A dropdown list
a) rowspan
b) colspan
c) merge
d) spanning
Answer: a) rowspan
56. Which of the following is NOT a valid HTML form input type?
a) date
b) color
c) animation
d) range
Answer: c) animation
These MCQs continue covering the basic concepts from slides 1 to 78. Let me know if you need
even more! �