HTML Questions March 1, 2023 | No Comments 0 votes, 0 avg 528 123456789101112131415 HTML Questions 1 / 15 1. What does vlink attribute mean? A. visited link B. virtual link C. active link D. visual link 2 / 15 2. Which of the following is correct about custome attribute in html 5? A. A custom attribute starts with data- and would be named based on your requirment. B. You would be able to gte the values of these attributes using javascript APIs or CSS in similar way as you get for standard attributes. C. Both of the above D. None of the above 3 / 15 3. 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 4 / 15 4. Which statement is false? A. Inline element can be nested inside inline element. B. Block elements can be nested inside block elements. C. Inline elements can be nested inside block elements. D. Block elements can be nested inside inline elements. 5 / 15 5. Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5? A. section B. article C. aside D. header 6 / 15 6. Which of the following tag automatically focus on one particular form field in HTML 5? A. output B. placeholder C. autofocus D. required 7 / 15 7. Where is title tag located? A. Between Head tag B. After Body tag C. Between Body tag D. Before Head tag 8 / 15 8. What is the most basic part of an HTML document? A. ASCII text B. Binary Text C. Text D. Body 9 / 15 9. 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 10 / 15 10. Which html tag is used to display the content as a moving text? A. <marquee></marquee> B. </img> C. <a href></a> D. <graphic></graphic> 11 / 15 11. 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 12 / 15 12. How to add a background color in HTML? A. <marquee bg-Color: "red"></marquee> B. <marquee bg-color = "red"></marquee> C. <marquee bgcolor = "red"></marquee> D. <marquee bgColor = "red"></marquee> 13 / 15 13. < audio controls src=”sound.mp3” type=”audio/mpeg” > When does this text display? < /audio > A. The text displays over the audio controls,unless CSS is used to position it else where. B. The text displays under the audio controls. C. The text displays when the browser cannot play the sound. D. The text never displays. 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, 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” Your score is The average score is 53% LinkedIn Facebook Twitter VKontakte 0% Restart quiz Questions, Quiz