Home HTML Tutorials Quiz HTML Quiz (50 Questions) Answer all questions, track your progress live, and see your final result at the end. Progress 0 / 50 answered Q1. What does HTML stand for? HyperText Markup Language HighText Machine Language Hyper Transfer Markup Logic Hyperlinking Text Management Language Q2. Which tag is used for the largest heading? <heading> <h6> <h1> <head> Q3. Which HTML tag is used to create a paragraph? <para> <p> <pg> <text> Q4. Which tag creates a hyperlink? <a> <link> <href> <url> Q5. What attribute specifies the link destination in an anchor tag? src href path target Q6. Which tag is used to insert an image? <img> <image> <pic> <src> Q7. Which attribute is required for accessibility on informative images? title name alt caption Q8. Which element defines the document title shown in the browser tab? <meta> <title> <head> <label> Q9. Where should the <title> tag be placed? Inside <body> Inside <header> Inside <head> Inside <footer> Q10. Which declaration tells the browser this is an HTML5 document? <html5> <!doctype html> <doctype html5> <!html> Q11. Which tag creates an ordered list? <ul> <ol> <li> <dl> Q12. Which tag is used for an unordered list? <ul> <ol> <li> <list> Q13. Which tag represents a list item? <item> <li> <list-item> <i> Q14. Which element groups navigation links? <navigate> <nav> <menu> <links> Q15. Which semantic element is for independent content like a blog post? <section> <article> <aside> <div> Q16. Which semantic element usually contains introductory content or logo? <footer> <header> <main> <top> Q17. Which element should appear only once for the main content area? <content> <main> <section> <center> Q18. Which tag defines emphasized text (usually italic by default)? <i> <strong> <em> <mark> Q19. Which tag indicates strong importance (usually bold)? <bold> <b> <important> <strong> Q20. Which tag inserts a line break? <break> <lb> <br> <line> Q21. Which tag creates a thematic break (horizontal rule)? <line> <hr> <rule> <br> Q22. Which tag is used for tabular data? <table> <tab> <tbody> <grid> Q23. Which table tag defines a row? <td> <th> <tr> <row> Q24. Which table tag defines a header cell? <thead> <th> <tr> <td> Q25. Which table tag defines a data cell? <th> <tc> <td> <cell> Q26. Which element is used to collect user input? <input> <form> <textarea> <button> Q27. Which input type hides typed characters? text hidden password secure Q28. Which input type allows selecting one option from many? checkbox radio select toggle Q29. Which attribute makes a form field mandatory? validate must required needed Q30. Which element creates a dropdown list? <dropdown> <option> <select> <list> Q31. Which tag is used for multi-line text input? <textbox> <textarea> <input type="text-area"> <multiline> Q32. Which attribute provides a unique identifier for an element? class id name key Q33. Which attribute can be reused on multiple elements? id class unique single Q34. Which global attribute stores custom data values? custom-* data-* meta-* attr-* Q35. Which meta tag is essential for responsive design? charset description viewport robots Q36. Which meta tag helps summarize page content for search snippets? keywords author description summary Q37. Which tag links an external CSS file? <style src="..."> <css> <link rel="stylesheet" href="..."> <script href="..."> Q38. Which tag is commonly used to embed JavaScript? <js> <script> <javascript> <code> Q39. Which attribute opens a link in a new tab? open="new" target="_blank" newtab="true" window="new" Q40. Which element is best for generic grouping without semantic meaning? <section> <article> <div> <main> Q41. Which element is an inline generic container? <span> <inline> <div> <small> Q42. Which tag is used to define a footer for a page or section? <bottom> <foot> <footer> <end> Q43. Which tag can embed another webpage? <frame> <embed> <iframe> <object> Q44. Which element is used to play audio content? <sound> <music> <audio> <media> Q45. Which element is used to play video content? <movie> <video> <media> <clip> Q46. Which tag represents highlighted text? <highlight> <strong> <mark> <em> Q47. Which tag defines smaller text such as disclaimers? <small> <tiny> <sub> <mini> Q48. Which is the correct root element of an HTML document? <root> <document> <html> <body> Q49. Which section of the HTML document contains visible content? <head> <meta> <body> <title> Q50. What is the best heading sequence for accessibility and SEO? h1 -> h4 -> h2 h3 -> h2 -> h1 h1 -> h2 -> h3 Any random order Finish Test Your Result