HTML Questions March 1, 2023 | No Comments 0 votes, 0 avg 558 123456789101112131415 HTML Questions 1 / 15 1. 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. 2 / 15 2. In which part of the HTML metadata is contained? A. head tag B. title tag C. html tag D. body tag 3 / 15 3. 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) 4 / 15 4. Which of the following tag is used to create a combo box (or drop-down box)? A. <list></list> B. <select></select> C. <input type="dropdown"></input> D. <ul></ul> 5 / 15 5. What is the most basic part of an HTML document? A. ASCII text B. Binary Text C. Text D. Body 6 / 15 6. Which of the following is the correct way to start an ordered list with the count of numeric value 4? A. <ol type = "1" initial = "4"></ol> B. <ol type = "1" begin = "4"></ol> C. <ol type = "1" num = "4"></ol> D. <ol type = "1" start = "4"></ol> 7 / 15 7. In HTML, which attribute is used to create a link that opens in a new window tab? A. src=”_blank” B. alt=”_blank” C. target=”_self” D. target=”_blank” 8 / 15 8. Which of the following HTML tag is the special formatting tag? A. <p></p> B. <b></b> C. <pre></pre> D. none of the abive. 9 / 15 9. Which of the following is true about ‘video’ tag in HTML5? A. MPEG4 files with H.264 video codec and AAC audio codec are supported. B. You can use ‘source’ tag to specify media along with media type and many other attributes. C. A video element allows multiple source elements and bowser will use the first recognized format D. all of the above 10 / 15 10. Text within EM tag is displayed as A. bold B. italic C. list D. indented 11 / 15 11. What is meant by an empty tag in HTML? A. There is no such concept of an empty tag in HTML B. an empty tag does not require a closing tag C. An empty tag cannot have any content within it. D. none of the above 12 / 15 12. HTML documents are saved in _____ A. Special Binary Fromat B. Machine language Codes C. ASCII text D. Plain Text 13 / 15 13. The tag to specify illustrations,diagrams,photos is___ A. <mark></mark> B. <figure></figure> C. <aside></aside> D. <details></details> 14 / 15 14. Which input type reset defines a reset button that will reset all form values to their default values? A. clear B. clear:both C. reset D. refresh 15 / 15 15. Which of the following attribute triggers events when a form changes? A. onchange B. onedit C. onformchange D. onforminput Your score is The average score is 53% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz