HTML Questions March 1, 2023 | No Comments 0 votes, 0 avg 25 123456789101112131415 HTML Questions 1 / 15 1. Which of the following attribute triggers event when media can be played to the end , without stopping or buffering? A. onloop B. onplay C. oncanplay D. oncanplaythrough 2 / 15 2. Which element is used to get highlighted text in HTML5? A. <u></u> B. <mark></mark> C. <highlight></highlight> D. <b></b> 3 / 15 3. How are quotations defined in HTML? A. <quote></quote> B. <block></block> C. <blockquote></blockquote> D. none of the above 4 / 15 4. Which of the following input controls represents a date (year, month, day) encoded according to ISO 8601 in web form 2.0? A. datetime B. datetime-local C. date D. month 5 / 15 5. 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. 6 / 15 6. What does abbreviation “HTML” stands for? A. Hyper Text Marquee Language B. Hyper Text Machine Language C. Hyper Text Markup Language D. Hyper Test Marking Language 7 / 15 7. which tag is used to follow the exact format in which it is written? A. <p></p> B. <pre></pre> C. <span></span> D. none of the above 8 / 15 8. Which of the following tag does not require a terminator? A. <u></u> B. <br></br> C. <b></b> D. <li></li> 9 / 15 9. Which of the following statement is true? A. Attribute names must be in uppercase B. Attribute values must be quoted C. Attribute minimization is mandatory D. Attribute values should not be quoted 10 / 15 10. What does the code shown below will accomplish? < picture > < source srcset=”image1.jpg” media=”(min-width:1000px)”/ > < source srcset=”image2.jpg” media=”(min-width:750px)”/ > < img src=”image3.jpg”/ > < /picture > A. It will display image1.jpg at 1000px and higher, image2.jpg at 750px-990px, and image3.jpg at 749px and Lower. B. It will display image1.jpg at 1000px and higher, image2.jpg at 750px-999px, and image3.jpg is a default In case <picture> is not supported. C. It will display image1.jpg at 1000px and higher, image2.jpg at 750px and higher, image3.jpg is a default In case picture tag is not supported. D. It will display image1.jpg, image2.jpg and image3.jpg at 1000px and higher. 11 / 15 11. Where is title tag located? A. Between Head tag B. After Body tag C. Between Body tag D. Before Head tag 12 / 15 12. 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 –> 13 / 15 13. The tags in HTML are – A. case-sensitive B. in upper case C. not case-sensitive D. in lower case 14 / 15 14. 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 15 / 15 15. 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) Your score is The average score is 56% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz