Home NIMI TRADE THEORY MOCK TEST COPA Mock Test 10 - Designing Static WebPages COPA Mock Test 10 - Designing Static WebPages Author - personVIKASH NIMBRAIN September 23, 2023 0 share 1. What is the first tag in an HTML document? a) <html> b) <head> c) <title> d) </html> 2. The <b> tag makes the enclosed text bold, which other HTML tag is used to make text bold? a) <dark> b) <bold> c) <th> d) <strong> 3. Which HTML tag is used to display a picture in a web page? a) <src> b) <img> c) <img src> d) <image> 4. What is the full form of HTTP? a) Hyper text testing protocol b) Hyper text transfer protocol c) Hyper test transfer protocol d) Hyper text transfer program 5. Which HTML tag inserts a line horizontally in a page? a) <lr> b) <l> c) <hr> d) <line> 6. What is the full form of CSS? a) Computer style sheet b) Cascading style sheet c) Cascading system style d) Customized style sheet 7. Which HTML tag is the smallest heading? a) <h1> b) <h2> c) <h6> d) <head> 8. What is another name for a web address? a) URL b) Html c) Http d) Webpage 9. What are the two main parts available in an HTML document? a) Title and Body b) Head and title c) Head and Body d) Head and document 10. Which character in HTML is used to indicate an end tag? a) \ b) / c) ! d) <# 11. Which symbols start HTML comments? a) <! b) </ c) <# d) <\ 12. What is used to publish a webpage to a web hosting server? a) Http b) Php c) Kompozer d) Blogger 13. Which attribute is used with <td> tag to merge two cells horizontally? a) Colspan = 2 b) Rowspan = 2 c) Mergerows d) mergecols 14. Which tag creates a checkbox for a form in HTML? a) <check box> b) <input check box> c) <input = check box> d) <input type = “check box”> 15. Which HTML tag is used to add a row in a table? a) <tr> and </tr> b) <cr> and </cr> c) <th> and </th> d) <td> and </td> 16. Which HTML tag is used to divide a row into data cells? a) <tr> and </tr> b) <cr> and </cr> c) <th> and </th> d) <td> and </td> 17. What is the correct syntax for adding alternate text for an image, if the image cannot be displayed? a) <img src = “boat.gif” alt = “big boat”/> b) <img src = “boat.gif” alt text = “big boat”/> c) <img src = “boat.gif” alternate = “big boat”/> d) <img src = “boat.gif” alternate text = “big boat”/> 18. Which is the correct <h1> tag for right alignment? a) <h1 align = “right”>.....</h1> b) <h1 tag align = “right”>.....</h1> c) <h1 align = “r”>.....</h1> d) <h1 alignment = “right”>.....</h1> 19. What is the use of forms in HTML? a) To display a table b) To display a list c) To send the data to the server d) To display email contents 20. What is the correct syntax for making a hyperlink? a) <http://nimi.gov.in”</a> b) <url = “http://nimi.gov.in”>nimi c) <a href = “http://nimi.gov.in”>nimi</a> d) <a ref = “http://nimi.gov.in”>nimi</a> 21. Which is the correct tag for adding an iframe in HTML? a) <iframe http://nimi.gov.in></iframe> b) <iframe =”http://nimi.gov.in”></iframe> c) <iframe src = “http://nimi.gov.in”></iframe> d) <iframe href = “http://nimi.gov.in”></iframe> 22. What is the correct HTML tag for adding a background color? a) <body color = “Yellow”> b) <body bgcolor = “Yellow”> c) <body background = “Yellow”> d) <body bg = “Yellow”> 23. How do you add a link which will allow the visitor to send an email from the page? a) <a href = “mailto : youradderss”> b) <a href = “sendmailtoyour address”> c) <a=”mailto”> d) <href = “mailto”> 24. What will happen if the background image is smaller than the screen? a) It will be stretched b) It will leave a blank space at the bottom of the page c) It will leave a blank space at the top of the page d) It will be repeated 25. Which is the correct CSS syntax? a) body: color = black; b) body { color; black} c) {body: color : black;} d) {body : color = black;} 26. Which is the correct HTML tag for making a text input field? a) <text type = “Text”> b) <input type = “text”> c) <input type = “textfield”> d) <input type = “textbox”> 27. Which is the correct HTML tag for creating a password field? a) <text type = “password”> b) <input type = “pwd”> c) <input type = “password”> d) <input type = “passcode”> 28. What is the correct HTML code for inserting a background image? a) <Body background = “image.jpg”> b) <body = “image.jpg”> c) <background = “image.jpg”> d) <body background = image.jpg> 29. Which option will match while making a bulleted list? a) Square, disc, polygon b) Triangle, disc, circle c) Triangle, square, circle d) Disc, circle, square 30. What is the meaning of increasing the cell padding? a) Increase the thickness of the table border b) Increase the space between cells c) Increase the distance between cell and content d) Increase the number of cells 31. Which property of cells will determine how many rows a cell should span? a) Colspan = 5 b) Rowspan = 5 c) Cellspan = 5 d) Span = 5 32. Which web language gives more control over the HTML elements and allows them to change at any time without returning to the Web server? a) BML b) XML c) HTML d) DHTML 33. What will be the output of the following HTML code? <html> <body> <p><strong>NIMI</strong></p> <p>CHENNAI</p> </body> </html> a) NIMI CHENNAI b) NIMI CHENNAI c) CHENNAI NIMI d) CHENNAI NIMI 34. What is the output of the following HTML? <html> <body> <h2>NIMI<small>CHENNAI</small>formatting</h2> </body> </html> a) NIMI chennai b) NIMI CHENNAI c) NIMI chennaiformatting d) NIMICHENNAIformatting 35. What is the output of the following HTML code? <html> <body> <p>NIMI<sup>CHENNAI</sup></p> </body> </html> a) NIMI chennai b) NIMI chennai c) NIMI chennai d) NIMI - CHENNAI 36. How will the following HTML code appear in the browser? <html> <body> <h1>my first heading</h1> <p>my first paragraph</p> </body> </html> a) My first heading My first paragraph b) My first heading My first paragraph c) My first heading My first paragraph d) My first heading My first paragraph 37. Which of the following code is used to add a plain color background to the web page? a) <body bgcolor = “36, 2437”> b) <body color = “#FF000”> c) <body bgcolor = “#FF000”> d) <bgcolor = “blue”> Submit Tags NIMI COPA MOCK TESTNIMI TRADE THEORY MOCK TEST Facebook Twitter Whatsapp Newer Older