HTML MCQs

228
Score: 0
Attempted: 0/228
1. What does HTML stand for?



2. Which of the following best describes HTML?



3. Which part of an HTML document contains information not displayed on the webpage?



4. HTML was primarily created to structure which type of content?



5. Who is credited with inventing HTML?



6. Which tag is used to define the structure of an HTML document?
16. Which tag is used to create a hyperlink in HTML?



17. How do you create an internal link to a section within the same page?



18. Which attribute is used to create a link to send an email?



19. Which HTML tag is used to create a clickable image link?



20. Which tag is typically used to create a navigation menu?



21. Which tag is used to embed an image in HTML?



22. Which attribute specifies the alternative text for an image?



23. Which tag is used to embed an audio file in HTML5?



24. Which tag is used to embed a video file in HTML5?



25. Which HTML5 element is used to draw graphics on the web?



26. Which elements are used to associate a caption with an image?



27. Which tag is used for creating an ordered (numbered) list?



28. Which tag is used for creating an unordered (bulleted) list?



29. Which tags are used to create a definition list in HTML?



30. Which tag is used to create a table in HTML?



31. Which attribute specifies the number of rows a cell should span in a table?



32. Which tag is used to create a form in HTML?



33. Which input type allows the user to select a date?



34. Which attribute specifies where a form’s data should be sent?



35. Which tags are used to create a dropdown list in HTML?



36. Which tag is used to create a clickable button in HTML?



37. Which HTML5 attribute checks the input field for valid data before submitting a form?



38. Which elements are considered semantic in HTML5?



39. Which tags represent main content divisions in HTML5?



40. Which HTML5 element is specifically used for site navigation?



41. Which tag is used to create a generic container in HTML?



42. Which tag is used for inline grouping of text without introducing a line break?



43. Which of the following is a block-level element?



44. Which section contains metadata and links to scripts or stylesheets in HTML?



45. Which tag is used to link a favicon for a website?



46. How do you link an external CSS file in HTML?




48. Which Web Storage API allows storing key-value pairs that persist across browser sessions?



49. Which API allows web applications to get the user’s geographical location?



50. Which HTML5 API allows dragging and dropping elements?



51. Which feature allows web apps to work offline using a manifest file?



52. Which tag is used for scalable vector graphics in HTML?



53. What is the purpose of ARIA roles in HTML?



54. Which attribute provides alternative text for images for accessibility?



55. Why is semantic HTML important?



56. Which of the following HTML tags is deprecated in modern HTML5?



Contents Copyrights Reserved By T4Tutorials