1.
What does HTML stand for ?
Correct Answer
C. HYPER TEXT MARKUP LANGUAGE
Explanation
HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating and structuring web pages. It is the language that is used to define the structure and layout of a webpage, including text, images, links, and other elements. HTML allows web browsers to interpret and display the content of a webpage correctly.
2.
HTML Tags are case sensitive.
Correct Answer
B. FALSE
Explanation
HTML tags are not case sensitive. This means that whether you use uppercase or lowercase letters when writing HTML tags, it will not affect how the tags are interpreted by the browser. For example, , , and are all considered valid and will be treated the same way. This flexibility allows developers to choose their preferred casing style when writing HTML code.
3.
You do not have to connect to the internet to verify changes to a Web page on your computer.
Correct Answer
A. TRUE
Explanation
This statement is true because when you make changes to a web page on your computer, you can view and verify those changes without needing an internet connection. The changes are made locally on your computer, so you can preview them directly without the need for an internet connection.
4.
Software programs, like your Web browser, use a mathematical approach to define the color.
Correct Answer
A. TRUE
Explanation
Software programs, including web browsers, do indeed use a mathematical approach to define colors. Colors are typically represented using numerical values for their red, green, and blue (RGB) components. These values are then combined using mathematical operations to create the desired color. This mathematical approach allows for precise control over the color output and enables a wide range of colors to be displayed on digital devices. Therefore, the statement "Software programs, like your Web browser, use a mathematical approach to define the color" is true.
5.
The page title is inside the____tag.
Correct Answer
B. HEAD
Explanation
The page title is typically placed inside the HEAD tag of an HTML document. The HEAD tag is used to define the head section of the document, which contains meta information about the page, such as the title, character encoding, and linked stylesheets or scripts. Placing the title within the HEAD tag allows search engines and browsers to properly identify and display the title of the page.
6.
What are the attributes of the font tag?
Correct Answer
C. Face,size,color
Explanation
The attributes of the font tag are face, size, and color. These attributes allow you to specify the font face, font size, and font color for the text within the font tag.
7.
What is the file extension used for the HTML file?
Correct Answer
C. .HTML
Explanation
The correct file extension used for an HTML file is .HTML. This extension stands for Hypertext Markup Language, which is the standard language used for creating web pages. HTML files contain the structure and content of a webpage, including text, images, links, and other elements. By using the .HTML file extension, web browsers and other software can recognize and interpret the file as an HTML document, allowing it to be displayed as a webpage.
8.
H1 is the smallest header tag.
Correct Answer
A. FALSE
Explanation
The statement "H1 is the smallest header tag" is false. In HTML, header tags are used to define the importance and structure of the content on a webpage. The H1 tag is actually the largest and most important header tag, typically used for the main heading of a page. The hierarchy of header tags goes from H1 (largest) to H6 (smallest).
9.
Which is the best reason for using a closing (p) tag in your document when you open a paragraph tag?
Correct Answer
A. To help the writer distinguish between paragrapHs
Explanation
The closing tag in HTML is used to mark the end of an element. In this case, using a closing tag after opening a tag helps the writer distinguish between paragraphs by clearly indicating where one paragraph ends and the next one begins. This is important for organizing and structuring the content of the document, making it easier to read and understand. Additionally, it is a good practice to properly close all HTML tags to ensure the code is valid and to avoid any potential rendering issues.
10.
Which attribute is correct to apply a background color to a tag?
Correct Answer
C. Bgcolor
Explanation
The correct attribute to apply a background color to a tag is "bgcolor". This attribute allows you to specify a color for the background of the tag.
11.
Which tag will insert a line across the page?
Correct Answer
D. Hr
Explanation
The tag is used to insert a horizontal line across the page. This tag is commonly used to visually separate sections of a webpage or to create a divider between content. When the tag is used, it creates a horizontal line that spans the entire width of the page.
12.
_____________ are additional features that can be added to tags to specify additional properties of that particular tag.
Correct Answer
B. Attributes
Explanation
Attributes are additional features that can be added to tags to specify additional properties of that particular tag. They provide extra information about the elements in HTML and define their characteristics. By using attributes, developers can modify the behavior or appearance of HTML elements, such as setting the color, size, or alignment of text within a tag. Attributes are an essential part of HTML and are used to enhance the functionality and styling of web pages.
13.
Which of the following is NOT found in the body section of an HTML document?
Correct Answer
C. Title
Explanation
The title tag is not found in the body section of an HTML document. The title tag is used to define the title of the document, which appears in the browser's title bar or tab. It is placed within the head section of the HTML document, not the body section. The body section is where the content of the web page is placed, such as paragraphs (p), horizontal rules (hr), and images (img).
14.
How can you justify a paragraph on your web page?
Correct Answer
D. P align=’justify’
Explanation
The correct answer is "p align='justify'". This is because the "align" attribute is used to specify the alignment of the paragraph on the web page. In this case, "justify" is used to justify the paragraph, meaning that the text will be aligned to both the left and right margins, creating a clean and balanced appearance.
15.
What is a tag?
Correct Answer
A. A left and right angle bracket with the name of the tag between the brackets
Explanation
A tag in web development is represented by a left and right angle bracket with the name of the tag between them. This notation is used to define elements in HTML or XML documents. Tags provide instructions to the web browser on how to format text or which objects to insert. The answer accurately describes the syntax and purpose of tags in web development.
16.
Web pages should be saved with what file extension?
Correct Answer
B. .htm or .html
Explanation
Web pages should be saved with the file extension .htm or .html. This is because .htm or .html extensions are commonly used for HTML files, which are the standard format for web pages. By saving web pages with these extensions, it allows web browsers to recognize and properly display the content of the page.
17.
How are closing tags distinguished from their corresponding opening tags?
Correct Answer
D. / (forward slash)
Explanation
Closing tags are distinguished from their corresponding opening tags by the presence of a forward slash (/) before the tag name. This forward slash indicates that it is the closing tag for the corresponding opening tag.
18.
Which tag pairs mark the beginning and the end of an HTML document?
Correct Answer
B. Html.../html
Explanation
The correct answer is "html..../html". The HTML document starts with the opening tag "" and ends with the closing tag "". These tags enclose the entire HTML content, including the head, body, and other elements of the document. The other options mentioned, such as "body..../body", "title..../title", and "head..../head", mark specific sections within the HTML document, but they do not encompass the entire document.
19.
Instructions that allow you to specify how you want your text to appear and to instruct the browser to include specific images in your document are called _________ tags.
Correct Answer
B. Html
Explanation
HTML tags are used to specify how text should appear and to include specific images in a document. HTML stands for Hypertext Markup Language and it is the standard language for creating web pages.
20.
Which is a correct syntax?
Correct Answer
D. P align=center
Explanation
The correct syntax is "p align=center". This aligns the paragraph element in the center of the page. The attribute "align" is used to specify the alignment of the element, and "center" is the correct value to center align the paragraph.