1.
A clickable link that takes you from one document to another, or to any resource, even within the same document, with text that is highlighted in some fashion is called.
Correct Answer
D. Hyperlink
Explanation
A clickable link that takes you from one document to another, or to any resource, even within the same document, with text that is highlighted in some fashion is called a hyperlink.
2.
In HTML, the TITLE tag is
Correct Answer
B. What shows at the very top of your browser’s window
Explanation
The TITLE tag in HTML is used to specify the title of the webpage. This title is what shows at the very top of the browser's window, typically in the title bar or tab. It is not necessarily the largest or most important HTML item, but it does play a crucial role in providing a concise and meaningful description of the webpage's content.
3.
Which of the following are used to view documents on the Internet and World Wide Web?
Correct Answer
C. Browsers
Explanation
Browsers are used to view documents on the Internet and World Wide Web. They are software applications that allow users to access and navigate websites, view webpages, and interact with online content. Browsers provide a graphical user interface for users to enter website addresses (URLs), search for information, and display the requested webpages. Examples of popular browsers include Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari.
4.
Extensible HyperText Markup Language
Correct Answer
D. A reformulation of HTML in XML.
Explanation
Extensible HyperText Markup Language (XHTML) is a reformulation of HTML in XML. This means that XHTML follows the rules and syntax of XML, making it more strict and well-formed compared to HTML. XHTML allows for greater compatibility with other XML-based technologies and provides stricter guidelines for coding webpages. This reformulation of HTML in XML allows for improved organization, structure, and compatibility with other web technologies.
5.
Choose the correct HTML tag for the largest heading.
Correct Answer
B. The h1 tag
Explanation
The correct HTML tag for the largest heading is the h1 tag. The h1 tag is used to define the main heading of a webpage and is typically displayed in a larger font size compared to other headings.
6.
This is a "standard" way of easily expressing the location and data type of a resource.
Correct Answer
B. The Uniform Resource Locator
Explanation
The Uniform Resource Locator (URL) is a "standard" way of easily expressing the location and data type of a resource. It is a string of characters that provides a unique address for a specific resource on the internet. By using a URL, users can easily navigate to and access web pages, files, and other resources on the internet. It consists of various components, including the protocol, domain name, and path, which together specify the location and type of the resource. URLs are widely used and recognized, making them a convenient and widely accepted method for expressing resource locations.
7.
The information that is the visible part of the document goes into this section which begins.
Correct Answer
B. The body tag
Explanation
The body tag is the correct answer because it is the section where the visible content of the document is placed. The head tag is used for meta-information about the document, such as the title and links to stylesheets or scripts. The HTML tag is the root element of the HTML document, encompassing both the head and body sections. The section tag is used to define a section within an HTML document, but it does not specifically refer to the visible content of the document. Therefore, the body tag is the most appropriate choice for the visible part of the document.
8.
When specifying the source of an image referenced in your HTML document, the image should
Correct Answer
A. Either be within the same folder as the HTML page, or the complete pathname should be specified.
Explanation
The correct answer is that the image should either be within the same folder as the HTML page or the complete pathname should be specified. This means that when referencing an image in an HTML document, the image file should either be located in the same folder as the HTML file or the full path to the image file should be provided. This ensures that the browser can find and display the image correctly.
9.
This can be specified either as absolute pixels or the percentage value of the screen.
Correct Answer
A. Table width
Explanation
The table width can be specified either as absolute pixels or the percentage value of the screen. This means that the width of the table can be set to a specific number of pixels or it can be set to a percentage of the screen width. This allows for flexibility in designing tables that can adapt to different screen sizes and resolutions.
10.
What is the purpose of the HTML td colspan tag?
Correct Answer
C. Sets number of columns a cell should span
Explanation
The HTML "td colspan" tag is used to set the number of columns that a cell should span. This means that the cell will occupy multiple columns in the table instead of just one.
11.
What is the correct HTML for making a hyperlink to MySchools.com?
Correct Answer
D. The answer is MySchools
Explanation
The correct HTML for making a hyperlink to MySchools.com is `MySchools.com`.
12.
What is the purpose of the HTML blockquote tag?
Correct Answer
A. It defines a long quotation
Explanation
The HTML blockquote tag is used to define a long quotation. It is typically used to visually distinguish quoted or cited content from the rest of the text. This tag is useful when you want to display a longer piece of quoted text, such as a paragraph or multiple paragraphs, in a visually distinct way.
13.
To display a less than sign in an HTML document, we must write.
Correct Answer
A.
Explanation
To display a less than sign in an HTML document, we must write the HTML entity code "<". This is because the less than sign is a reserved character in HTML and cannot be directly written without causing parsing issues. By using the HTML entity code, the browser will interpret it as a less than sign and display it correctly on the webpage.
14.
How can you make a list that lists the items with numbers?
Correct Answer
C. The ol tag
Explanation
The correct answer is the "ol" tag. The "ol" tag is used to create an ordered list, where the items are listed with numbers.
15.
How many parts does an HTML character entity have
Correct Answer
B. A character entity has three parts
Explanation
An HTML character entity has three parts. This includes the ampersand (&) at the beginning, the entity name or number in the middle, and the semicolon (;) at the end. The ampersand indicates the start of the entity, the entity name or number represents the character being encoded, and the semicolon marks the end of the entity.
16.
Which are the correct HTML codes for a vertical frameset with three frames?
Correct Answer
A. The tag - frameset cols= “500,250,250"
17.
To reference a web page called web_1.htm to be displayed in a frame which of the following tags would be used.
Correct Answer
B. The tag - frame src="web_1.htm"
Explanation
The correct answer is the tag - frame src="web_1.htm". This tag is used to reference a web page called web_1.htm to be displayed in a frame.
18.
The frameset column size value can be set in pixels (cols="200,500"), and one of the columns can be set to use the remaining space using a wildcard asterisk * for the actual value. Which of the following would be appropriate for a 3 column using a wildcard
Correct Answer
C. The tag - frameset cols= “200,*,250”
Explanation
The correct answer is "the tag - frameset cols= “200,*,250”". This is because the wildcard asterisk (*) is used to allocate the remaining space to the column, and in this case, the first column is set to a fixed size of 200 pixels, the second column will take up the remaining space, and the third column is set to a fixed size of 250 pixels.
19.
Which of the following is an advantage of using frames in web pages:
Correct Answer
C. Frames add to the creativity and aesthetic of a website
Explanation
Frames can enhance the creativity and aesthetic appeal of a website by allowing for the display of multiple web pages within a single window. This can create visually interesting and dynamic layouts, providing a unique and engaging user experience.
20.
How would you write Hello in an alert box?
Correct Answer
C. Alert ("hello");
Explanation
The correct answer is "alert ("hello");" because the alert() function is used to display a message in an alert box. The message to be displayed is enclosed in parentheses and within quotation marks. In this case, the message is "hello".
21.
Which of the following means not equal to Javascript?
Correct Answer
A. !=
Explanation
The symbol "!=" in JavaScript is used to denote "not equal to". It is used to compare two values and returns true if they are not equal, and false if they are equal. This symbol is commonly used in conditional statements and loops to check for inequality between variables or values.
22.
The variables Numb1 and numb1 are interchangeable in JavaScript.
Correct Answer
B. False
Explanation
In JavaScript, variables are case-sensitive. Therefore, the variables Numb1 and numb1 are not interchangeable. They represent different variables and cannot be used interchangeably in the code.
23.
An external JavaScript must contain the tag.
tag
Correct Answer
A. True
Explanation
An external JavaScript file must contain the tag in order to be properly included and executed in an HTML document. This tag is used to define client-side JavaScript code and is necessary for the browser to recognize and interpret the JavaScript code within the external file. Therefore, the given answer "True" is correct.
24.
Where is the correct place to insert a JavaScript
Correct Answer
A. The body section
Explanation
The correct place to insert a JavaScript is in the body section of an HTML document. This is because JavaScript code is responsible for manipulating the content and behavior of the webpage, and it needs access to the HTML elements in the body section to do so effectively. Placing the JavaScript code in the body section ensures that it is executed after the HTML elements have been loaded, allowing for proper interaction and manipulation of the webpage.
25.
Which of the following is not a use of JavaScript
Correct Answer
D. User verification
Explanation
User verification is not a use of JavaScript. JavaScript is mainly used for enhancing the functionality and interactivity of websites, such as browser detection to provide different experiences based on the user's browser, using cookies to store and retrieve data, and form validation to ensure that user input is correct. However, user verification typically involves authentication processes that are usually handled on the server-side rather than the client-side with JavaScript.