1.
Who sets Web Standards?
Correct Answer
D. The World Wide Web Consortium
Explanation
The World Wide Web Consortium (W3C) is responsible for making the web standards. W3C is an international community that develops open standards to ensure the long-term growth of the web. It consists of member organizations, including individuals and companies, who collaborate to create and maintain these standards. W3C's goal is to make the web accessible, interoperable, and usable for everyone. Mozilla, Microsoft, and Apple are all important contributors to web technologies, but the ultimate authority for establishing web standards lies with the World Wide Web Consortium.
2.
What does HTML stand for?
Correct Answer
A. HyperText Markup Language
Explanation
HTML stands for Hyper Text Markup Language. It is the standard markup language used for creating web pages and applications. HTML uses markup tags to structure the content and define the layout of a web page. Hyperlinks can be added to connect different web pages together. HTML is not related to home tools or text makeup.
3.
What is the correct sequence of HTML tags for starting a webpage?
Correct Answer
C. HTML, Head, Title
Explanation
The correct sequence of HTML tags for starting a webpage is HTML, Head, Title. This is because the HTML tag is the root element that defines the beginning and end of an HTML document. The Head tag is used to contain meta-information about the document, such as the title, character encoding, and linked stylesheets. Finally, the Title tag is used to specify the title of the webpage, which is displayed in the browser's title bar or tab.
4.
Choose the correct HTML tag for the largest heading.
Correct Answer
A. H1
Explanation
The correct HTML tag for the largest heading is H1. This tag is used to define the main heading of a webpage or section, and it is typically displayed in a larger font size compared to other headings. The H1 tag carries the highest level of importance in terms of hierarchy and is usually used only once per webpage.
5.
What is the correct HTML tag for inserting a line break?
Correct Answer
A. Br
Explanation
The correct HTML tag for inserting a line break is "br". This tag is a self-closing tag, meaning it does not require a closing tag. It is used to create a line break or a new line in the text.
6.
What is the correct HTML for adding a background color?
Correct Answer
C. <body style="background-color: yellow;">
Explanation
In HTML, you can set the background color for an element, such as the <body> element, using inline CSS (Cascading Style Sheets). The correct way to do this is by using the style attribute to define the background color.
<body>: This is the HTML element that represents the body of a web page.
style="background-color: yellow;": This is an inline CSS style defined for the <body> element. It specifies the background color property, which is set to "yellow."
This code will make the background of the entire web page (the body) appear in the color yellow.
So, this HTML code correctly sets the background color of the <body> element to yellow, and it's the standard and recommended way to apply styling to HTML elements using inline CSS.
block in the head of the HTML document. The background-color property in CSS defines the background color of an element. The background-color property can accept color names, like yellow, hex color codes, RGB values, RGBA values, etc.
So, when you write , you’re setting the background color of the element (which is essentially your web page) to yellow.
7.
Choose the correct HTML tag to make text bold?
Correct Answer
B. B
Explanation
The correct HTML tag to make text bold is "b". This tag is used to apply bold formatting to the text enclosed within it.
8.
Choose the correct HTML tag to make the text italic.
Correct Answer
C. I
Explanation
The correct HTML tag to make the text italic is "i". This tag is used to apply the italic style to the enclosed text.
9.
What is the correct HTML for creating a hyperlink? (note: Where you see a big space, that is where a bracket should be.)
Correct Answer
C. A href="http://www.google.com" Google /a
Explanation
The correct HTML for creating a hyperlink is "a href="http://www.google.com" Google /a". This code uses the "a" tag to create a link, and the "href" attribute specifies the URL that the link should point to. The link text "Google" is displayed to the user, and when clicked, it will take them to the specified URL "http://www.google.com".
10.
How can you create an email link?
Correct Answer
A. A href="mailto:xxx@yyy"
Explanation
To create an email link, the correct format is "a href="mailto:xxx@yyy"". The "a" tag is used to create a link, and the "mailto:xxx@yyy" specifies the email address that the link will open when clicked. This format ensures that when the link is clicked, it will open the user's default email client with the specified email address pre-filled in the recipient field.
11.
How can you make a list that lists the items with numbers?
Correct Answer
A. Ol
Explanation
To make a list that lists the items with numbers, you can use the "ol" tag. This is the HTML tag for an ordered list, which automatically numbers each item in the list. By using the "ol" tag, you can create a numbered list of items.
12.
How can you make a list that lists the items with bullets?
Correct Answer
B. Ul
Explanation
The correct answer is "ul". In HTML, "ul" stands for an unordered list, which is a list that displays items with bullets. It is used to create a bulleted list where each item is preceded by a bullet point.
13.
What is the correct HTML for inserting an image?
Correct Answer
B. Img src="image.gif" /
Explanation
The correct HTML for inserting an image is "img src="image.gif" /". This is because the "img" tag is used to define an image in HTML, and the "src" attribute specifies the source or location of the image file. In this case, the image file is "image.gif". The "/" at the end of the tag is a self-closing tag, indicating that it does not have a closing tag.
14.
What is the correct HTML for inserting a background image?
Correct Answer
C. Body background="background.gif"
Explanation
The correct HTML for inserting a background image is "body background='background.gif'". This attribute is used to specify the background image for the entire body of the HTML document.
15.
A "radio" button used on a web page, would allow a person to select:
Correct Answer
B. Only one item.
Explanation
A "radio" button used on a web page allows a person to select only one item. Unlike checkboxes that allow multiple selections, radio buttons are designed to offer mutually exclusive choices. When one radio button is selected, it automatically deselects any previously selected radio button in the same group. This ensures that only one option can be chosen at a time, making it suitable for situations where only a single choice is allowed.