1.
What does HTML stand for?
Correct Answer
B. Hyper Text Markup Language
Explanation
HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating web pages and applications. HTML uses tags to structure the content and define the layout and appearance of the web page. Hyperlinks can be added to connect different web pages or sections within a page. HTML is not a programming language but rather a markup language that defines the structure and presentation of the content.
2.
Attribute used to change the background colour of web page.
Correct Answer
C. Bgcolor
Explanation
The correct answer is "bgcolor" because it is the attribute specifically used to change the background color of a web page. The other options, such as "background" and "color," are not specifically used for changing the background color, but rather for other styling purposes. "backcolor" is not a valid attribute in HTML, so it is not the correct answer.
3.
Tag used to give largest size to a heading
Correct Answer
C. H1
Explanation
The correct answer is H1. In HTML, heading tags are used to define the importance of the content within a webpage. The H1 tag is the highest level heading and is typically used for the main heading or title of the page. It is the largest and most visually prominent heading size, making it suitable for emphasizing important information. Therefore, when a larger size is desired for a heading, the H1 tag should be used.
4.
It is an empty tag
Correct Answer
B. BR
Explanation
The correct answer is BR because it is the only tag in the given list that is an empty tag. Empty tags do not require a closing tag and are used to insert line breaks in HTML. The other tags mentioned in the list, such as Body, Head, and Font, all require opening and closing tags.
5.
This tag displays text in typewriter font
Correct Answer
B. Tt
Explanation
This answer is correct because the "tt" tag is used to display text in typewriter font.
6.
Alt attribute in image tag is used to
Correct Answer
B. Give an alternative text
Explanation
The alt attribute in the image tag is used to provide alternative text for an image. This text is displayed if the image cannot be loaded or if the user is using a screen reader to access the webpage. It helps to improve accessibility and provides a description of the image for those who cannot see it.
7.
Tag used to start a new row
Correct Answer
D. TR
Explanation
The correct answer is "TR". In HTML, the "TR" tag is used to start a new row in a table. It is used to define a row of cells in a table and is typically used in conjunction with the "TD" tag to define individual cells within the row. The "TR" tag helps to structure and organize tabular data by separating it into rows.
8.
Cellpadding is used to
Correct Answer
B. Determines the amount of space between the border & content of cell
Explanation
The correct answer is "Determines the amount of space between the border & content of cell." Cellpadding is a HTML attribute that allows you to specify the amount of space between the border of a cell and its content. By adjusting the cellpadding value, you can control the spacing within a table cell, creating more or less space between the cell's content and its border.
9.
Which can not be a value for type attribute in unordered list
Correct Answer
C. Triangle
Explanation
The type attribute in an unordered list specifies the style of the bullet points. The values "disc", "square", and "circle" are all valid options for the type attribute. However, "triangle" is not a valid value for the type attribute in an unordered list.
10.
Which is not a attribute of Anchor tag
Correct Answer
A. HTTP
Explanation
The attribute "HTTP" is not a valid attribute of the anchor tag. The anchor tag is used to create hyperlinks, and it commonly includes attributes such as "name" and "href" to specify the target of the link. However, "HTTP" is not a recognized attribute in this context.