Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 MCQs Expanding HTML Knowledge

CSE326 — Internet Programming Laboratory 50 questions. Pick an option to check it.

Read the notes

0 of 50 answered 0 right 0 wrong , 50 left

  1. Question 1 of 50

    Which HTML tag is used to create an unordered list?

  2. Question 2 of 50

    Which attribute is used to change the numbering style in an ordered list (<ol>)?

  3. Question 3 of 50

    In a definition list, which tag represents the term being defined?

  4. Question 4 of 50

    Which HTML tag is used to define a list item in both ordered and unordered lists?

  5. Question 5 of 50

    What is the correct HTML tag for creating a hyperlink?

  6. Question 6 of 50

    Which attribute specifies the destination URL in an anchor tag?

  7. Question 7 of 50

    How do you make a hyperlink open in a new browser tab?

  8. Question 8 of 50

    Which HTML tag is used to embed an image?

  9. Question 9 of 50

    The 'alt' attribute in an <img> tag is used for:

  10. Question 10 of 50

    Where should the standard favicon link be placed in an HTML document?

  11. Question 11 of 50

    Which HTML tag is a container used to group other HTML elements and apply CSS styles to them?

  12. Question 12 of 50

    Which tag is used to display text in a subscript format (e.g., H₂O)?

  13. Question 13 of 50

    What does the <strong> tag do?

  14. Question 14 of 50

    Which attribute is used to merge cells across multiple columns in a table?

  15. Question 15 of 50

    Which attribute is used to merge cells across multiple rows in a table?

  16. Question 16 of 50

    Which tag is used to create a table header cell?

  17. Question 17 of 50

    Which HTML element is used to collect user input?

  18. Question 18 of 50

    In a form, which attribute specifies the URL where the form data should be sent?

  19. Question 19 of 50

    Which HTTP method appends form data to the URL?

  20. Question 20 of 50

    Which HTTP method should be used for sending sensitive data like passwords?

  21. Question 21 of 50

    Which input type is used to create a single-line text field?

  22. Question 22 of 50

    Which element is best suited for multi-line text input?

  23. Question 23 of 50

    Which input type allows the user to select multiple options from a set?

  24. Question 24 of 50

    Which input type allows the user to select exactly one option from a set?

  25. Question 25 of 50

    How do you group radio buttons so that only one can be selected at a time?

  26. Question 26 of 50

    Which tag is used to create a dropdown list?

  27. Question 27 of 50

    Which tag defines an option within a <select> list?

  28. Question 28 of 50

    Which input type creates a button that clears all form data?

  29. Question 29 of 50

    Which input type allows users to upload a file?

  30. Question 30 of 50

    Which attribute is used to specify a hint that describes the expected value of an input field?

  31. Question 31 of 50

    What tag is used to embed a video in HTML5?

  32. Question 32 of 50

    Which attribute in the <video> tag displays the play/pause buttons?

  33. Question 33 of 50

    What is the purpose of the <dd> tag in a definition list?

  34. Question 34 of 50

    Which attribute is required for the <form> to handle file uploads?

  35. Question 35 of 50

    Which tag is used to create a clickable button?

  36. Question 36 of 50

    Which attribute pre-selects a checkbox or radio button?

  37. Question 37 of 50

    Which attribute pre-selects an option in a dropdown list?

  38. Question 38 of 50

    What is the correct way to create an email link?

  39. Question 39 of 50

    Which tag allows you to define a table row?

  40. Question 40 of 50

    What is the default display value of a <div> element?

  41. Question 41 of 50

    Which tag is used to emphasize text, usually displaying it in italics?

  42. Question 42 of 50

    Which input type is used for fields that should be hidden from the user but sent to the server?

  43. Question 43 of 50

    Which attribute prevents a user from modifying the value of an input field?

  44. Question 44 of 50

    Which tag is used to play audio files?

  45. Question 45 of 50

    Which attribute in the <audio> or <video> tag causes the media to start over again, every time it is finished?

  46. Question 46 of 50

    To create a password field where characters are masked, which input type is used?

  47. Question 47 of 50

    What is the purpose of the 'rel' attribute in a <link> tag when defining a favicon?

  48. Question 48 of 50

    Which element defines a standard data cell in a table?

  49. Question 49 of 50

    Which attribute specifies the maximum number of characters allowed in an input field?

  50. Question 50 of 50

    Which attribute forces a user to fill out an input field before submitting the form?

That's unit 2

Answer a few questions and your score shows up here.