WordPress.com



1. HTML stands forA. Hyper Text Markup LanguageB. Hyper Text Machine LanguageC. Hyper Technical Machine LanguageD. None of these2. In which year HTML was invented?A. 1990B. 1991C. 1992D. 19933. Which of the following is not correct with reference to HTML?A. DOCTYPE refers to document type.B. DOCTYPE is not case sensitive.C. DOCTYPE is used only once at the start of the document.D. None of the above4. HTML tags are represented withinA. <>B. ()C. []D. {}5. Drag and drop feature is supported inA. HTML5B. HTML4C. Both HTML4 and HTML5D. It is not supported at all.6. What if one does not use the doctype in the starting of HTML document?A. Browser finds the document in quirky modeB. Browser finds a document in standard modeC. Browser stops workingD. Browser crashes after showing the page View Answer7. To create HTML page, you needA. Web browserB. text editorC. Both A and BD. None of the above8. Who is Known as the father of World Wide Web (WWW)?A. Robert CailliauB. Tim ThompsonC. Charles DarwinD. Tim Berners-Lee9. Choose the correct option.A. Elements in HTML describes the way of presenting the content in the browser.B. All elements must have atleast one attribute associated with it.C. Both a and b.D. None of the above10. In HTML, <ul> meansA. UnderlineB. Unique list.C. Unordered list.D. None of the above11. Which one of the following options is correct?A. Both block element and inline element start in the new line.B. Both block element and inline element start in the same lineC. Only inline element starts in new line.D. Only block element starts in new line.12. Which of the following is a block element?A. <b>B. <i>C. <p>D. <u>13. Which of the following is an inline element?A. <p>B. <h1>C. <div>D. <s>14. Choose the appropriate tag to get the content in browser as follows:<html> <body> ______ Johny Johny! Yes Papa ______ </body> </html> Johny Johny! Yes PapaA. <p><p>B. <pre></pre>C. <s></s>D. <b></b>15. Choose the correct option.A. HTML form elements are used for taking user input.B. HTML form elements are defined inside <form> tag.C. HTML form elements can be of different types.D. All of these.16. Which one of the following is a form element?A. text box.B. radio button.C. submit button.D. All of these.17. Which one of the following is incorrect?A. <label> tag in HTML is used for creating a tag for form elements.B. <label> can be used to increase the clickable area of buttonsC. id attribute is used with <label> to increase the clickable area of form elementsD. None of the above18. Choose the incorrect option.A. action attribute is used inside starting tag of form.B. With the use of action, we can redirect to a page once submit button is clicked.C. <form action:"home.php"> redirects to the page home.phpD. None of the above19. Choose the correct option.A. Use of method attribute determines by which method the datas in the form will be submitted.B. Method can be POST or GET.C. Default method in HTML is GET.D. All of the above20. Which one of the following does not hold true regarding GET method in HTML?A. Use of GET method in HTML is more secured.B. Use of GET method enables us to bookmark the page.C. GET has size limitation.D. None of the above21. Which one of the following does not hold true regarding POST method in HTML?A. Use of POST method in HTML is more secured.B. Use of POST method enables us to bookmark the page.C. POST has no size limitation.D. None of these.22. Which of the following tag is used for drop down list?A. <select>B. <text>C. <textarea>D. <dropdown>23. In order to display the contents as follows:Headings- HTMLSub-heading- ElementsSub-sub-headings- Heading tagsWhich one of the following options will be most preferred as tags for each of the above line respectively?A. <h1>,<h2>,<h3>B. <h3>,<h2>,<h1>C. <h6>,<h5>,<h4>D. <h5>,<h3>,<h1>24. Which one of the following value of target attribute opens the linked url in a new tab?A. _selfB. _blankC. _topD. _parent25. Which one of the following is a type of lists that HTML supports?A. Ordered lists.B. Unordered lists.C. Description lists.D. All of the above26. By which tag, an unordered list is represented?A. <u>B. <I>C. <ul>D. <ol>27. Fill in the blanks with a suitable option in order to number items of an ordered list with small roman numbers.<!DOCTYPE html><html><body><ol _________><li>Physics</li><li>Chemistry</li><li>Mathematics</li></ol></body></html>A. style= "type:i"B. style= "list-style-type:i"C. type= "i"D. type= "small roman"28. In order to start a list from 10, what attribute should be added in the opening tag of ordered list?A. begin= "10"B. start= "10"C. style= "begin:10"D. style= "start:10"29. A HTML code is given belowFill in the blanks with appropriate option to get the output as below:<!DOCTYPE html><html><body><dl>____Mathematics________Calculus____</dl></body></html>A. <dd>,</dd>,<dt>,</dt>B. <dt>,</dt>,<dd>,</dd>C. <li>,</li>,<dd>,</dd>D. <dt>,</dt>,<li>,</li>30. What is the default item marker in unordered lists of HTML?A. CircleB. MarkerC. discD. None of the above31. Choose the correct option.A. <th> is used for defining the heading of a table.B. By default, contents written between <th> and </th> are bold and centered.C. Both A and BD. None of the above32. By using which of the following options, the border of table can be collapsed?A. border-collapse:collapseB. table-border:collapseC. border:collapseD. table-border-collapse:collapse33. Fill in the blanks with the help of options given below in order to get the following table when the below code is executed.<!DOCTYPE html><html><body><table border="2"><tr><th>Name</th><th>Phone no</th></tr><tr><td ______________>John</td><td>9898989898</td></tr><tr><td>9876543210</td></tr></body></html>NamePhone noJohn9898989898 9876543210A. colspan= "1"B. colspan= "2"C. rowspan= "1"D. rowspan= "2"34. In order to add space of 20px between cell content and its border of a table in html, which one of the following option is appropriate?A. th,td{ padding: 20px;}B. table{ margin:20px; }C. table{ border : 20px;}D. table{ padding: 20px; }35. Which one of the following can be used to define the spacing between the cells of a table?A. border-spacingB. spacingC. cell-spacingD. table-spacing36. Fill in the blanks with the help of options given below in order to get the following table when the below code is executed.<!DOCTYPE html><html><body><table border="2"><tr><th>Name</th><th ____________>Phone no</th></tr><tr><td>John</td><td>9898989898</td><td>9876543210</td></tr></body></html>NamePhone noJohn98989898989876543210A. colspan= "1"B. colspan= "2"C. rowspan= "2"D. rowspan= "2"37. The correct sequence of HTML tags for starting a webpage is -A. Head, Title, HTML, bodyB. HTML, Body, Title, HeadC. HTML, Head, Table, BodyD. HTML, Head, Title, Body38. How to create a hyperlink in HTML?A. <a href = ""> </a>B. <a url = "" /a>C. <a link = ""> </a>D. <a> < /a>39. How to insert a background image in HTML?A. <body background = "img.png">B. <img background = "img.png">C. <bg-image = "img.png">D. None of the above40. In HTML5, which of the following tag is used to initialize the document type?A. <Doctype HTML>B. <\Doctype html>C. <Doctype>D. <!DOCTYPE html>41. Which is the correct way to comment out something in HTML?A. Using ## and #B. Using <!-- and --> C. Using </-- and -/->D. Using <!-- and -!>42. Which HTML tag is used to display the power in expression, i.e., (x2 - y2)?A. <sup>B. <sub>C. <p>D. None of the above43. Which of the following is the correct HTML tag to make a text italic?A. <i>B. <il>C. <itl>D. <italic>44. How do I add scrolling text to my page?a. <scroll>b. <marquee>c. <ciruler>d. <tab> ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download