CS202 MIDTERM SOLVED PAPER
Fundamental of Front End Development Quizzes
Prepared by VU Answer
1) Which of the following CSS property is used to change the text color?
a) Front-color
b) Text-color
c) Color
b) Font-Color
2) Which of the following is/are example(s) of HTML inline elements?
a) <b>
b) <span>
c) <img>
d) All of the given option
3) Which of the following is correct attribute to add border to an HTML table?
a) b
b) br
c) border
d) tborder
4) Which of the following is NOT a way to join multiple words into one variable name in JavaScript?
a) Hyphens
b) Underscore
c) Semicolon
d) Camel Case
5) ___ element is used to define HTML forms.
a) <f>
b) <fr>
c) <hf>
d) <form>
6) Which of the following is not a valid JavaScript variable?
a) 2number
b) number
c) mynumber2
d) None of the given options
7) Which of the following tag defines a description list in HTML?
a) <i>
b) <dl>
c) <list>
d) <dlist>
8) The HTML global attribute, "content editable" is used to:
a) Specify whether the content of an element should be editable or not
b) Return the position of the first found occurrence of content inside a string
c) Specifies a context menu for an element. The menu appears when a user right-clicks on the element
9) What is the correct HTML element for playing audio files?
a) <audio>
b) <sound>
c) <mp3>
10) What is the correct HTML element for playing video files?
a) <movie>
b) <media>
c) <video>
11) Which doctype is correct for HTML5?
a) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">
b) <!DOCTYPE html>
c) <!DOCTYPE HTML5>
12) What is the correct HTML for inserting an image?
a) <img src="image.gif" alt="MyImage">
b) <image src="image.gif" alt="MyImage">
c) <img alt="MyImage">image.gif</img>
d) <img href="image.gif" alt="MyImage">
13) What is the correct HTML for inserting a background image?
a) <body style="background-image:url(background.gif)">
b) <body bg="background.gif">
c) <background img="background.gif">
14) Which HTML element defines the title of a document?
a) <head>
b) <title>
c) <meta>
15) Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
a) longdesc
b) title
c) src
d) alt
16) How can you make a numbered list?
a) <list>
b) <dl>
c) <ol>
d) <ul>
17) How can you make a bulleted list?
a) <ol>
b) <dl>
c) <ul>
d) <list>
18) What is the correct HTML for making a checkbox?
a) <input type="checkbox">
b) <check>
c) <input type="check">
d) <checkbox>
19) What is the correct HTML for making a text input field?
a) <textfield>
b) <input type="textfield">
c) <input type="text">
d) <textinput type="text">
20) What is the correct HTML for making a drop-down list?
a) <input type="list">
b) <list>
c) <select>
d) <input type="dropdown">
21) Choose the correct HTML element to define emphasized text
a) <i>
b) <em>
c) <italic>
22) What is the correct HTML for creating a hyperlink?
a) <a name="http:// www.vuanswer.com"> VU Answer</a>
b) <a>http://www.vuanswer.com</a>
c) <a url="http://www.vuanswer.com"> VU Answer</a>
d) <a href="http://www.vuanswer.com">VU Answer</a>
23) Which character is used to indicate an end tag?
a) ^
b) /
c) <
d) *
24) How can you open a link in a new tab/browser window?
a) <a href="url" target="new">
b) <a href="url" new>
c) <a href="url" target="_blank">
25) Which of these elements are all <table> elements?
a) <table><tr><tt>
b) <thead><body><tr>
c) <table><tr><td>
d) <table><head><tfoot>
26) What does HTML stand for?
a) Hyper Text Markup Language
b) Hyperlinks and Text Markup Language
c) Home Tool Markup Language
27) Who is making the Web standards?
a) Microsoft
b) The World Wide Web Consortium
c) Google
d) Mozilla
28) Choose the correct HTML element for the largest heading:
a) <h1>
b) <h6>
c) <head>
d) <heading>
29) What is the correct HTML element for inserting a line break?
a) <lb>
b) <br>
c) <break>
30) What is the correct HTML for adding a background color?
a) <background>yellow</background>
b) <body style="background-color:yellow;">
c) <body bg="yellow">
EFFORT BY SARIM
FOR FREE MORE SOLUTIONS
For more help and suggestion or correction comment below
We Most Welcome your suggestion
0 Comments