Web Programming MCQs
1) The __________ tag offers a way to structure your text into different paragraphs.
A)<body> B)<h1> C)<head> D)<p>
Correct Ans:<p>
2) ____________ are made up of two parts − a name and a value.
A)elements B)attributes C)tags D)content
Correct Ans: attributes
3) HTML comments are placed in between ____________ tags.
A)<!-- ... --> B)<$-- ... --> C)<#-- ... --> D) <?-- ... -->
Correct Ans:<!-- ... -->
4) The __________ attribute defines space between table cells.
A) cellpadding B)colspan C)cellspacing D)rowspan
Correct Ans:cellspacing
5) ____________ tag also does not provide any visual change on the block but has more meaning when it is used with CSS.
A)<span> B)<meta> C) <div> D)<frame>
Correct Ans:<span>
6) __________ is used along with HTML and JavaScript in most websites to create user interfaces for web applications and user interfaces.
A)XUL B)SVG C)XML CSS
Correct Ans: CSS
7) _____________ indicates the HTML element you want to style.
A)property B)value C)Selector D)Declaration
Correct Ans: Selector
8) The ____________ sheet is generally used when you want to make changes on multiple pages.
A)Inline style B)Internal style C)external style D)None of these
Correct Ans: external style
9) JavaScript _________ are containers for storing data values.
A)function B)variables C)statements D)output
Correct Ans: variables
10)With Event _________ the browser has finished loading the page.
A)onclick B)onkeydown C)onmouseout D)onLoad
Correct Ans: onLoad
Comments
Post a Comment