HTML Questions

0 votes, 0 avg
1127

HTML Questions

1 / 15

1. 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 >

2 / 15

2. In which part of the HTML metadata is contained?

3 / 15

3. In the code below, what is the purpose of the id attribute? < p id=”warning” > Hello World < /p >

4 / 15

4. How to set a font for the whole page?

5 / 15

5. Text within EM tag is displayed as

6 / 15

6. How is black color represented in terms of RGB values?

7 / 15

7. Adding a border to your image helps the visitor to recognize it as ___________

8 / 15

8. Which statement is false?

9 / 15

9. Which tag is used to control the version of the html document.

10 / 15

10. HTML documents are saved in _____

11 / 15

11. Which of the following tag represents a piece of content that is only slightly related to the rest of the page in HTML5?

12 / 15

12. Which attribute u’ll use with the TD tag to merge two cells horizontally?

13 / 15

13. Which of the following attribute triggers event when an element leaves a valid drop target?

14 / 15

14. The way browser displays the object can be modified by ___

15 / 15

15. The tag to specify illustrations,diagrams,photos is___

Your score is

The average score is 46%

0%

Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.