1.
What does HTML stand for ?
Correct Answer
C. HYPER TEXT MARKUP LANGUAGE
Explanation
HTML stands for Hyper Text Markup Language. It is the standard markup language used for creating and structuring web pages. HTML is responsible for defining the structure and layout of a webpage, including headings, paragraphs, links, images, and other elements. It 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 both represent the paragraph tag. This flexibility allows developers to write HTML tags in a way that is more readable and easier to manage.
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
You do not need to connect to the internet to verify changes to a web page on your computer because the changes are made locally on your computer. When you make changes to a web page using a web development tool or software, you can preview and verify those changes directly on your computer without needing an internet connection. This allows developers to test and make adjustments to their web pages before publishing them online.
4.
There are_____color names recognized by all version of HTML.
Correct Answer
C. 16
Explanation
HTML recognizes 16 color names. These color names are predefined and can be used directly in HTML code without specifying their hexadecimal values. The 16 color names recognized by HTML are aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow. These color names provide a convenient way to specify colors in HTML without the need to remember or look up their hexadecimal values.
5.
Software programs, like your Web browser, use a mathemathical approach to define color.
Correct Answer
A. TRUE
Explanation
Software programs, including web browsers, use a mathematical approach to define color. This is achieved through the use of color models such as RGB (Red, Green, Blue) or CMYK (Cyan, Magenta, Yellow, Black). These models assign numerical values to each color component, allowing software to accurately represent and manipulate colors on digital displays. By using mathematical calculations, software programs can create a wide range of colors and accurately render them on screens. Therefore, the statement "Software programs, like your Web browser, use a mathematical approach to define color" is true.
6.
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 information about the document, such as the title, character encoding, and linked stylesheets. Placing the page title inside the HEAD tag allows search engines and browsers to properly identify and display the title of the webpage.
7.
What are the attributes of font tag?
Correct Answer
C. Face,size,color
Explanation
The attributes of the font tag are face, size, and color. These attributes allow the user to specify the font face, font size, and font color for the text enclosed within the font tag.
8.
What is the file extension used for HTML file ?
Correct Answer
C. .HTML
Explanation
The correct answer is .HTML. The file extension .HTML is used for HTML files. HTML stands for Hypertext Markup Language, which is the standard markup language for creating web pages. By using the .HTML file extension, web browsers are able to recognize and interpret the contents of the file as HTML code, allowing the web page to be displayed properly with the intended formatting and structure.
9.
<Hn> tag is conatiner tag?
Correct Answer
A. True
Explanation
The tag is a container tag in HTML. It is used to define headings in a web page, with "n" representing the level of the heading ranging from 1 to 6. The opening tag marks the beginning of the heading and the closing tag marks the end. As a container tag, it encapsulates the content within it and applies the appropriate styling and formatting to the heading text. Therefore, the statement "The tag is a container tag" is true.
10.
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 range from H1 to H6, with H1 being the largest and H6 being the smallest. H1 is typically used for the main heading of a webpage, while H6 is used for subheadings or less important headings.
11.
The default horizontal row alignment for is _______________?
Correct Answer
B. Left
Explanation
The correct answer is "left" because the question is asking for the default horizontal row alignment. In most cases, the default alignment for rows is left-aligned, meaning that the content of the rows is aligned to the left side of the table or document.
12.
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 (p) tag is used to clearly define the end of a paragraph in HTML. By using this tag, it helps the writer to easily differentiate between paragraphs and maintain proper formatting of the content. Without closing the (p) tag, the paragraphs would not be properly closed, resulting in incorrect structure and potential display issues. Therefore, using the closing (p) tag is essential to ensure that all tags are properly closed and to maintain the integrity of the document's structure.
13.
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".
14.
Which tag will insert a line across the page?
Correct Answer
D. Hr
Explanation
The "hr" tag is used to insert a horizontal line across the page.
15.
_____________ 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. In HTML, tags can have attributes like id, class, style, etc., which provide extra information about the element. These attributes help define the behavior, appearance, or functionality of the tag. For example, the attribute "id" can be used to uniquely identify an element, while the "class" attribute can be used to group elements with similar styles or behaviors. Attributes enhance the flexibility and customization options of tags in web development.
16.
Which of the following is NOT found in the body section of an HTML document?
Correct Answer
C. Title
Explanation
The "title" element is not found in the body section of an HTML document. It is used to define the title of the document, which is displayed in the browser's title bar or tab. The body section contains the content of the webpage, such as paragraphs (p), headings, images (img), and horizontal rules (hr).
17.
What is the proper tag to set a horizontal line to span 50% of your screen?
Correct Answer
A. Hr width=’50%’
Explanation
The proper tag to set a horizontal line to span 50% of your screen is "hr width=’50%’". This attribute specifies the width of the horizontal line as a percentage of the available space.
18.
How can you justify a paragraph in your web page?
Correct Answer
D. P align=’justify’
Explanation
To justify a paragraph in a web page, the correct HTML attribute is "p align='justify'". This attribute is used to align the text within the paragraph to both the left and right margins, creating a clean and balanced appearance. The other options mentioned - p='justify', align='justify', and p align='justified' - are not valid HTML attributes for justifying a paragraph.
19.
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 is a set of characters represented by a left and right angle bracket with the name of the tag between them. It is used in web development to provide instructions to the web browser on how to format text and which objects to insert. Tags are essential in HTML coding as they define the structure and appearance of web pages.
20.
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 is the standard file extension for HTML documents, which are the building blocks of web pages. By saving web pages with this file extension, it allows web browsers to recognize and interpret the HTML code correctly, ensuring that the web page is displayed as intended.
21.
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 including a forward slash (/) before the tag name. This indicates that it is the closing tag for the specific element.
22.
Which tag pairs marks the beginning and the end of an HTML document?
Correct Answer
B. Html.../html
Explanation
The HTML document starts with the opening tag and ends with the closing tag . These tags enclose the entire HTML document and indicate the beginning and the end of the document.
23.
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 instruct the browser to include specific images in a document. HTML (Hypertext Markup Language) is the standard markup language for creating web pages and it uses tags to structure the content and define its appearance. Therefore, the correct answer is "html".
24.
Which is a correct syntax?
Correct Answer
D. P align=center
Explanation
The correct syntax is "p align=center". This syntax is used to align the paragraph element (p) to the center of the page. The "align" attribute is used to specify the alignment, and in this case, it is set to "center".