HTML Questions March 1, 2023 | No Comments 0 votes, 0 avg 605 123456789101112131415 HTML Questions 1 / 15 1. The tags in HTML are – A. case-sensitive B. in upper case C. not case-sensitive D. in lower case 2 / 15 2. What is the correct syntax for iframe tag? A. <iframe href="url" title="description"></iframe> B. <iframe link="url" title="description"></iframe> C. <iframe src="url" title="description"></iframe> D. all of the above 3 / 15 3. What is the correcct syntax for creating a link on a web page? A. <link src="abc.html"></link> B. <body link="abc.html></body> C. <a src="abc.html"></a> D. <a href="abc.html></a> 4 / 15 4. In the code below, what is the purpose of the id attribute? < p id=”warning” > Hello World < /p > A. It establishes that id is a unique identifier in the document, used for styling CSS, scripting and linking within a page. B. It establishes that id is a unique identifier in the document, used for styling CSS and with javascript code. C. It establishes that id may b used for styling CSS several times per page. D. It establishes that id is a unique identifier in the website, used for styling CSS, scripting, and linking within a page. 5 / 15 5. which element is used for a line break? A. <lb></lb> B. </> C. <br></br> D. <break></break> 6 / 15 6. Which tag is used to display a clickable button? A. <input type="submit"></input> B. <input type="btn"></input> C. <input type="button"></input> D. <input type="click"></input> 7 / 15 7. Which of the following tag is used for inserting the largest heading in HTML A. <head></head> B. <h6></h6> C. <h1></h1> D. <heading></heading> 8 / 15 8. Text within EM tag is displayed as A. bold B. italic C. list D. indented 9 / 15 9. Which of the following attribute triggers event after the document is printed? A. offlineprint B. onprint C. onafterprint D. onbeforeprint 10 / 15 10. Which code will led text wrap down the side of the image ? A. <img src= “myImage.gif” wrap= “on”/> B. <img src= “myImage.gif” align= “wrap”/> C. <img src= “myImage.gif” align= “right”/> D. none of the above 11 / 15 11. A block level element of the HTML always starts on a A. New window B. New Tab C. New page D. New line 12 / 15 12. What if one does not use the doctype in the starting of HTML document? A. Browser finds the document in quirky mode B. Browser finds a document in standard mode C. Browser stops working D. Browser crashes after showing the page 13 / 15 13. Which of the following HTML code will make an image clickable? A. <a href="https://www.abc.com/">ABC Home Page</a> B. <img src="https://www.abc.com/abc-logo"> <a href="https://www.abc.com/">ABC Home Page</a></img> C. <a href="https://www.abc.com/">ABC Home Page</a><img src="https://www.abc.com/abc-logo" /> D. <a href="https://www.abc.com/"><img src="https://www.abc.com/abc-logo" /></a> 14 / 15 14. How are quotations defined in HTML? A. <quote></quote> B. <block></block> C. <blockquote></blockquote> D. none of the above 15 / 15 15. In HTML, tags that include both on and off tag are called A. comment tag B. document tag C. container tag D. None of the above Your score is The average score is 51% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz