1.
How can you make an e-mail link in HTML?
Correct Answer
A. <a href="xxx@yyy">send email</a>
Explanation
To create an email link in HTML, you can use the anchor tag () with the href attribute set to the email address you want to link. The text within the opening and closing tags will be displayed as the clickable link. Therefore, the correct answer is "send email".
2.
What is the correct HTML for adding a background color?
Correct Answer
B. < body bgcolor=”yellow”>
Explanation
The correct HTML for adding a background color is < body bgcolor=”yellow”>. This attribute sets the background color of the entire body of the HTML document to yellow.
3.
If you wanted to make an HTML list that listed items from 1-5, what tag should you use?
Correct Answer
B. < ol >
Explanation
To create an ordered list in HTML that lists items from 1-5, the correct tag to use is . The tag is used to define each individual item within the list, while the tag is used to define the ordered list itself. The tag is used for unordered lists, where the order of the items does not matter. The tag is not a valid HTML tag.
4.
Which is the correct to create an ROMAN numeral list
Correct Answer
B. <ol type=”I″>
Explanation
To create a Roman numeral list, the correct answer is "
5.
The …………………. attribute adds space within each cell.
Correct Answer
B. CELL PADDING
Explanation
The correct answer is CELL PADDING. The CELL PADDING attribute adds space within each cell. This attribute is used in HTML table elements to specify the amount of space between the content of a cell and its border. By using CELL PADDING, you can control the amount of space or padding inside each cell, allowing for better spacing and alignment of content within the table.
6.
Default style and color of unvisited link in any browser is __________
Correct Answer
C. Underlined and blue
Explanation
The default style and color of an unvisited link in any browser is underlined and blue. This is a common convention that helps users easily identify clickable links on webpages. The underlined format distinguishes the link from regular text, while the blue color stands out against the default black text color.
7.
Screen colors are defined by which colors?
Correct Answer
D. Red, Green and Blue
Explanation
Screen colors are defined by the combination of red, green, and blue. This is known as the RGB color model. By varying the intensity of these three primary colors, it is possible to create a wide range of colors on a screen. The RGB model is commonly used in electronic displays such as televisions, computer monitors, and smartphones.
8.
Which HTML Tag will use to scroll a text in web page?
Correct Answer
A. <marquee> … </marquee>
Explanation
The correct answer is ... . The tag is used to create a scrolling text or image on a web page. It allows the content within the tag to move horizontally or vertically across the screen, creating a scrolling effect.
9.
What is Web Font in HTML ?
Correct Answer
D. All of the Above.
Explanation
The correct answer is "All of the Above." This means that all the statements mentioned in the question are correct explanations of what a Web Font is in HTML. A Web Font is indeed the core font used to develop web pages, it enables the use of fonts over the web without installation, and it can also be a special font developed by Microsoft Corp.
10.
What is the use of iframe in HTML?
Correct Answer
A. to display a web page within a web page.
Explanation
The use of an iframe in HTML is to display a web page within another web page. This allows for the embedding of external content such as videos, maps, or social media feeds into a website. By using an iframe, the content from another web page can be seamlessly integrated and displayed within the current page, providing a more interactive and dynamic user experience.
11.
Which of the following is correct HTML for inserting an image?
Correct Answer
B. <img src= “www.mcqsets.com/admin.jpg” alt= “This is me” />
Explanation
The correct HTML for inserting an image is "". This code uses the "img" tag to insert an image, with the "src" attribute specifying the source URL of the image file and the "alt" attribute providing alternative text for the image. The forward slash at the end of the tag indicates that it is a self-closing tag.
12.
Which of the following is correct to set “Black” color as Background of page?
Correct Answer
A. <body bgcolor=“#000000?>
Explanation
The correct answer is "" because the "bgcolor" attribute is used to set the background color of the page. The value "#000000" represents the color black in hexadecimal format.
13.
How to define target in new page in HTML?
Correct Answer
B. <a href = “http:// www.headstart.cbit.ac.in /” target = “_blank”> Click Here </a>
Explanation
The correct answer is " Click Here ". This is the correct way to define the target in a new page in HTML. The "target" attribute is used to specify where to open the linked document when the user clicks on the link. In this case, the target value "_blank" indicates that the linked document should be opened in a new browser window or tab.
14.
How to set a picture as a background web page?
Correct Answer
C. <background= “backpic.gif”>
15.
Which of the following is the correct HTML tag to comment in HTML?
Correct Answer
B. <!– and –>
Explanation
The correct HTML tag to comment in HTML is "". This tag is used to add comments in the HTML code. Anything written between "" is considered as a comment and is not displayed on the webpage. Comments are useful for adding notes or explanations to the code, making it easier for other developers to understand or for future reference.
16.
What does stand for?
Correct Answer
B. Non-Breaking Space
Explanation
The correct answer is "Non-Breaking Space". In HTML, the entity is used to insert a non-breaking space. This means that the space will not be collapsed or ignored by the browser, and text or elements will not wrap to the next line if the space is at the end of a line. It is commonly used to create consistent spacing between elements or to prevent line breaks in certain situations.
17.
Which organization defines the Web Standards?
Correct Answer
C. World Wide Web Consortium
Explanation
The World Wide Web Consortium (W3C) is the organization that defines the Web Standards. They are responsible for developing protocols and guidelines that ensure the long-term growth and accessibility of the Web. W3C's standards are widely adopted and followed by web developers and browser manufacturers, making it the correct answer in this case.
18.
In HTML, Uniform Resource Identifier (URI) is used to
Correct Answer
A. To identify a name or a resource on the internet.
Explanation
In HTML, Uniform Resource Identifier (URI) is used to identify a name or a resource on the internet. URI is a string of characters that provides a unique address for a resource on the web, such as a webpage or an image. It allows users to access and retrieve information from the internet by specifying the location or name of the resource. By using URI, HTML can link to other webpages, images, or files, enabling navigation and interaction within the web.
19.
What does vlink attribute mean?
Correct Answer
A. Visited link
Explanation
The vlink attribute refers to a visited link. This attribute is used in HTML to define the color of a link that has been visited by the user. By setting the vlink attribute, web developers can customize the appearance of visited links on their website, making it easier for users to identify which links they have already clicked on.
20.
Which of the following is an attribute of <Table> tag?
Correct Answer
A. SRC
Explanation
The attribute "SRC" is not an attribute of the tag. The SRC attribute is commonly used with the tag to specify the source (URL) of an image.