CS-202 fundamentals of front end development
Midterm Solved Paper Reference by Shahzad-Usmani
1. What does HTML stand for?
• Hyper Text Markup Language
• Hyperlinks and Text Markup Language
• Home Tool Markup Language
2. Who is making the Web standards?
• Microsoft
• The World Wide Web Consortium
• Google
• Mozilla
3. Choose the correct HTML element for the largest heading:
• <h1>
• <h6>
• <head>
• <heading>
4. What is the correct HTML element for inserting a line break?
• <lb>
• <br>
• <break>
5. What is the correct HTML for adding a background color?
• <background>yellow</background>
• <body style="background-color:yellow;">
• <body bg="yellow">
6. Choose the correct HTML element to define important text
• <strong>
• <important>
• <b>
• <i>
7. Choose the correct HTML element to define emphasized text
• <i>
• <em>
• <italic>
8. What is the correct HTML for creating a hyperlink?
• <a name="http:// www.vukiduniya.blogspot.com"> VuKiDuniya.com</a>
• <a>http:// www.vukiduniya.blogspot.com </a>
• <a url="http://www.vukiduniya.blogspot.com"> VuKiDuniya.com</a>
• <a href="http:// www.vukiduniya.blogspot.com ">Vu Ki Duniya</a>
9. Which character is used to indicate an end tag?
• ^
• /
• <
• *
10. How can you open a link in a new tab/browser window?
• <a href="url" target="new">
• <a href="url" new>
• <a href="url" target="_blank">
11. Which of these elements are all <table> elements?
• <table><tr><tt>
• <thead><body><tr>
• <table><tr><td>
• <table><head><tfoot>
12. How can you make a numbered list?
• <list>
• <dl>
• <ol>
• <ul>
13. How can you make a bulleted list?
• <ol>
• <dl>
• <ul>
• <list>
14. What is the correct HTML for making a checkbox?
• <input type="checkbox">
• <check>
• <input type="check">
• <checkbox>
15. What is the correct HTML for making a text input field?
• <textfield>
• <input type="textfield">
• <input type="text">
• <textinput type="text">
16. What is the correct HTML for making a drop-down list?
• <input type="list">
• <list>
• <select>
• <input type="dropdown">
17. What is the correct HTML for making a text area?
• <input type="textarea">
• <textarea>
• <input type="textbox">
18. What is the correct HTML for inserting an image?
• <img src="image.gif" alt="MyImage">
• <image src="image.gif" alt="MyImage">
• <img alt="MyImage">image.gif</img>
• <img href="image.gif" alt="MyImage">
19. What is the correct HTML for inserting a background image?
• <body style="background-image:url(background.gif)">
• <body bg="background.gif">
• <background img="background.gif">
20. Which HTML element defines the title of a document?
• <head>
• <title>
• <meta>
21. Which HTML attribute specifies an alternate text for an image, if the image cannot be
displayed?
• longdesc
• title
• src
• alt
22. Which doctype is correct for HTML5?
• <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN"
"http://www.w3.org/TR/html5/strict.dtd">
• <!DOCTYPE html>
• <!DOCTYPE HTML5>
23. Which HTML element is used to specify a footer for a document or section?
• <section>
• <bottom>
• <footer>
24. What is the correct HTML element for playing video files?
• <movie>
• <media>
• <video>
25. What is the correct HTML element for playing audio files?
• <audio>
• <sound>
• <mp3>
26. The HTML global attribute, "contenteditable" is used to:
• Specify whether the content of an element should be editable or not
• Return the position of the first found occurrence of content inside a string
• Specifies a context menu for an element. The menu appears when a user right-clicks on
the element
• Update content from the server
27. In HTML, onblur and onfocus are:
• Event attributes
• HTML elements
• Style attributes
Regards:
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ http://bit.ly/ningsearch (Click Here to Search Looking For something at ning Site.
+ http://bit.ly/fbvuning (Join also Our Facebook Group For Study Help)