HTML Questions March 1, 2023 | No Comments 0 votes, 0 avg 1105 123456789101112131415 HTML Questions 1 / 15 1. Which of the following attribute triggers events when a form changes? A. onchange B. onedit C. onformchange D. onforminput 2 / 15 2. Which of the following tag does not require a terminator? A. <u></u> B. <br></br> C. <b></b> D. <li></li> 3 / 15 3. Which of the following tag provides a hint to the user of what can be entered in the field? A. output B. placeholder C. autofocus D. required 4 / 15 4. Which of the following is the correct syntax for using the HTML style attribute? A. B. C. D. 5 / 15 5. Which attribute is used for favicon? A. icon B. title C. rel D. head 6 / 15 6. Hue is a degree on the color wheel ranging from A. 0 to 100 B. 0 to 180 C. 0 to 255 D. 0 to 360 7 / 15 7. Which element is used to get highlighted text in HTML5? A. <u></u> B. <mark></mark> C. <highlight></highlight> D. <b></b> 8 / 15 8. What does vlink attribute mean? A. visited link B. virtual link C. active link D. visual link 9 / 15 9. How is black color represented in terms of RGB values? A. RGB(100,100,100) B. RGB(100,100,0) C. RGB(100,0,0) D. RGB(0,0,0) 10 / 15 10. How do we write comments in HTML? A. //this is a comment B. /* this is a comment */ C. <! This is a comment -> D. <!– This is a comment –> 11 / 15 11. Which of the following is not a difference between HTML and XHTML? A. Charset in both html and xhtml is “text/html” B. Tags and attributes are case-insensitive in HTML but not in XHTML C. Special characters must be escaped using character entities in XHTML unlike HTML D. Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml” 12 / 15 12. Which of the following is true? A. br tag is used to have a blank line. B. In tables,the header cell is centered by default and the data cells are right aligned. C. The tr is used to create a data cell. D. INPUT tag must have atleast 4 attributes. 13 / 15 13. Which attribute is used in the table tag element to set the width in pixels, between the edge of the cell and it’s individual cells? A. cellpadding B. edgespacing C. colspacing D. cellspacing 14 / 15 14. The element to specify a list of predefined options for input controls is A. <embed></embed> B. <datalist></datalist> C. <source></source> D. <track></tractk> 15 / 15 15. What is the work of address tag element in HTML5? A. contains IP address B. contains contact details for author C. contains url D. contains home address Your score isThe average score is 46% LinkedIn Facebook VKontakte 0% Restart quiz By WordPress Quiz plugin Questions, Quiz