Question Bank Practical IT PDF
Document Details
Uploaded by ProblemFreePlutonium7052
Tags
Summary
This document is a question bank focused on HTML for practical IT exercises. The questions cover a range of HTML elements and concepts, such as tags, attributes, creating hyperlinks, and styling text.
Full Transcript
1. What does HTML stand for? A) Hyper Tool Markup Language B) Hyper Text Markup Language C) Hyper Transfer Markup Language D) Hyper Text Makeup Language Answer: B 2. Which tag is used to define the title of a web page? A) B) C) D) Answer: C 3. Which of the following tags is not closed in HTM...
1. What does HTML stand for? A) Hyper Tool Markup Language B) Hyper Text Markup Language C) Hyper Transfer Markup Language D) Hyper Text Makeup Language Answer: B 2. Which tag is used to define the title of a web page? A) B) C) D) Answer: C 3. Which of the following tags is not closed in HTML? A) B) C) D) Answer: A 4. Which tag creates a horizontal line? A) B) C) D) Answer: A 5. What is the correct syntax to create a hyperlink? A) B) C) D) Answer: C 6. How do you make text bold in HTML? A) B) C) Both A and B D) None of the above Answer: C 7. What does represent in HTML? A) Smallest heading B) Largest heading C) Normal heading D) Italic heading Answer: B 8. What is the correct syntax for adding a background color to a web page? A) B) C) D) Answer: B 9. How do you add an image in HTML? A) B) C) D) Answer: C 10. What is the purpose of the tag? A) Add images B) Change font properties C) Insert paragraphs D) Make text italic Answer: B 11. Which attribute is used to specify the height of an image? A) SIZE B) HEIGHT C) DIMENSION D) WIDTH Answer: B 12. What does the tag represent? A) Ordered list B) Unordered list C) Table row D) Inline style Answer: B 13. Which tag is used to create a new paragraph? A) B) C) D) Answer: B 14. How do you center text in HTML? A) B) C) D) Answer: B 15. What is the attribute for changing the size of a font in HTML? A) TYPE B) FONT-SIZE C) SIZE D) TEXT-SIZE Answer: C 16. What tag is used to add a video file in HTML? A) B) C) D) Answer: B 17. What does the tag represent? A) List icon B) List item C) Line item D) Left indent Answer: B 18. How do you specify a sound file to play as a background sound in a web page? A) B) C) D) Answer: B 19. Which of these is a correct tag with right alignment? A) B) C) D) Both B and C Answer: D 20. What is the purpose of the tag? A) To display data as an image B) To create a table with rows and columns C) To format text D) To create hyperlinks Answer: B 21. Which attribute specifies the start of an ordered list? A) BEGIN B) START C) FIRST D) FROM Answer: B 22. How do you add a marquee (scrolling text) in HTML? A) B) C) D) Answer: A 23. Which HTML element is used to display data in rows and columns? A) B) C) D) Answer: B 24. Which tag is used for italic text in HTML? A) B) C) D) Both B and C Answer: D 25. How can you specify an image as the background of a web page? A) B) C) D) Answer: B 26. What is the correct syntax to specify an image width in HTML? A) B) C) D) Answer: A 27. What does represent in HTML? A) Ordered list B) Outline list C) Object list D) Outer list Answer: A 28. Which attribute of the tag is used to change the font type? A) TYPE B) FACE C) FONT D) STYLE Answer: B 29. How do you create a hyperlink that opens Yahoo's website? A) Visit Yahoo B) Visit Yahoo C) Visit Yahoo D) Visit Yahoo Answer: A 30. Which tag adds moving text to a web page? A) B) C) D) Answer: B 31. How do you specify the alignment of a paragraph in HTML? A) B) C) D) Answer: B 32. What is the purpose of the tag? A) Center-aligns content B) Changes font color C) Makes text bold D) Adds a border Answer: A 33. Which of the following is not an HTML heading tag? A) B) C) D) Answer: C 34. Which attribute of the tag specifies the width of the table? A) TABLEWIDTH B) WIDTH C) SIZE D) DIMENSION Answer: B 35. What is the correct way to specify a table row in HTML? A) B) C) D) Answer: A 36. What does represent in HTML? A) Table Data B) Table Division C) Text Data D) Table Description Answer: A 37. Which of the following tags is used to display data in a table cell? A) B) C) D) Answer: B 38. How do you specify a link to another web page in HTML? A) B) C) D) Answer: C 39. What does the tag represent? A) Bold text B) Smallest heading C) Hyperlink D) Paragraph Answer: B 40. What is the correct way to specify a list item in an unordered list? A) B) C) D) Answer: C 41. What does the tag do? A) Adds a horizontal line B) Creates a new paragraph C) Adds a break in text D) Aligns text to the right Answer: A 42. Which tag is used to create a dropdown list in HTML? A) B) C) D) Answer: A 43. What does the tag do in HTML? A) Makes text italic B) Makes text bold C) Changes text size D) Changes text alignment Answer: B 44. Which of the following tags creates a hyperlink in a web page? A) B) C) D) Answer: D 45. Which tag is used for underlined text? A) B) C) D) Answer: C 46. What does the tag do? A) Aligns the paragraph to the center B) Centers text in a table C) Changes the paragraph's font size D) Adds an underline to the paragraph Answer: A 47. What attribute specifies the number of times a marquee scrolls? A) SCROLLS B) BEHAVIOR C) LOOP D) DURATION Answer: C 48. Which attribute is used to set the color of the text in the tag? A) COLOR B) STYLE C) TEXTCOLOR D) TEXT Answer: A 49. How do you align an image to the center of the page? A) B) C) D) Answer: A 50. Which tag is used to define a row in a table? A) B) C) D) Answer: C 51. What does do in HTML? A) Adds background sound to a page B) Adds sound to a hyperlink C) Plays a sound file when clicked D) Adds music to an image Answer: A 52. What tag is used to add a new line in HTML? A) B) C) D) Answer: D 53. Which attribute specifies the background color of a web page? A) COLOR B) BGCOLOR C) BACKGROUND-COLOR D) STYLE Answer: B 54. How do you make text italic in HTML? A) B) C) D) Answer: A 55. Which tag is used to define an ordered list? A) B) C) D) Answer: B 56. How do you specify the height of a table in HTML? A) HEIGHT B) SIZE C) TABLEHEIGHT D) DIMENSION Answer: A 57. Which tag is used to insert an image in a table? A) inside B) C) D) Answer: A 58. Which of the following is an attribute of the tag? A) BEHAVIOR B) MOVEMENT C) DIRECTION D) Both A and C Answer: D 59. What tag is used to define the header of a table? A) B) C) D) Answer: B 60. Which of the following is a valid hyperlink syntax? A) text B) text C) text D) link Answer: B 61. Which tag is used to define a cell in a table? A) B) C) D) Answer: C 62. What does the attribute in the tag specify? A) The style of the link B) The path to the linked resource C) The size of the hyperlink D) The text of the link Answer: B 63. How do you specify a video file to display in HTML? A) B) C) D) Answer: B 64. Which HTML element is used to specify the largest heading? A) B) C) D) Answer: B 65. Which attribute of the tag changes the color of the text? A) COLOR B) TEXTCOLOR C) STYLE D) FONT-COLOR Answer: A 66. What tag is used to define an unordered list? A) B) C) D) Answer: A 67. Which tag is used to specify a hyperlink with the text "Click Here"? A) Click Here B) Click Here C) Click Here D) Click Here Answer: A 68. What attribute specifies the size of the font in the tag? A) FONT-SIZE B) SIZE C) TEXT-SIZE D) FONTWIDTH Answer: B 69. Which tag is used to add a scrolling text in HTML? A) B) C) D) Answer: B 70. How do you align a paragraph to the left? A) B) C) D) Both A and C Answer: D 71. Which tag defines a table in HTML? A) B) C) D) Answer: A 72. What does the tag specify in a table? A) Table row B) Table column C) Table cell D) Table heading Answer: A 73. How do you add a bold heading in HTML? A) B) Heading C) Heading D) Answer: B 74. Which of the following attributes is used to set the width of an image? A) HEIGHT B) DIMENSION C) WIDTH D) SIZE Answer: C 75. What tag is used to define an ordered list? A) B) C) D) Answer: B 76. Which of the following tags creates a line break? A) B) C) D) Answer: B 77. What does the tag represent in a table? A) Table header B) Table height C) Table hover D) Table handle Answer: A 78. Which attribute is used to specify the source of an image? A) SOURCE B) IMG-SRC C) SRC D) PATH Answer: C 79. What is the default alignment of text in a paragraph? A) Left B) Center C) Right D) Justified Answer: A 80. What tag creates a link that opens in a new tab? A) B) C) D) Answer: A 81. How do you add a background image to a web page? A) B) C) D) Answer: A 82. Which of the following is an ordered list pointer type? A) Square B) Roman numerals C) Circle D) Dash Answer: B 83. What is the correct way to write the tag to set text color and size? A) B) C) D) Both A and C Answer: D 84. How do you define the table data cell in HTML? A) B) C) D) Answer: B 85. Which tag is used to add a sound file in HTML? A) B) C) D) Answer: B 86. Which tag is used to create a hyperlink to another file? A) B) C) D) Answer: A 87. What tag specifies a moving text in HTML? A) B) C) D) Answer: B 88. How do you define a list item in an unordered list? A) B) C) D) Answer: D 89. Which of the following attributes is used to specify the behavior of a marquee? A) MOVEMENT B) ACTION C) BEHAVIOR D) DIRECTION Answer: C 90. What does do? A) Creates a numbered list B) Creates a list with circular bullets C) Creates a list with squared bullets D) Creates a list with no bullets Answer: B 91. Which of these attributes is required for the tag? A) WIDTH B) SRC C) HEIGHT D) ALT Answer: B 92. How do you specify a numbered list in HTML? A) B) C) D) Answer: A 93. Which tag is used for the smallest heading? A) B) C) D) Answer: B 94. What does the tag specify? A) Paragraph B) Padding C) Page break D) Preformatted text Answer: A 95. How do you align an image to the right in HTML? A) B) C) D) Answer: A 96. Which tag is used to display a video in HTML? A) B) C) D) Answer: C 97. What is the purpose of the attribute? A) Change font color B) Change font size C) Change font type D) Change font alignment Answer: C 98. What does the tag specify? A) The title of the page B) The content of the page C) The metadata of the page D) The footer of the page Answer: B 99. Which tag creates a new row in a table? A) B) C) D) Answer: A 100. How do you specify italic text in HTML? A) B) C) D) Answer: A