1.
A clickable link that takes you from one document to another, or to any resource, even within a 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.
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 define the title of a webpage, which is displayed at the very top of the browser's window. This title provides a brief description of the webpage's content and helps users identify the page when they have multiple tabs open. It is not necessarily the largest text on the page or the most important HTML item, but it is the text that appears at the top of the browser's window.
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. Browsers are software applications that allow users to access and navigate websites, view webpages, and interact with online content. They interpret HTML code, display text, images, videos, and other media, and enable users to click on hyperlinks to navigate between different webpages. Some 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. XHTML combines the flexibility and ease of use of HTML with the strictness and structure of XML. It follows the rules and syntax of XML, making it more compatible with other XML-based technologies and allowing for better integration with other web technologies. XHTML also promotes cleaner and more standardized coding practices, making it easier for web developers to create and maintain web pages.
5.
Choose the correct HTML tag for the largest heading
Correct Answer
B. The h1 tag
Explanation
The h1 tag is the correct HTML tag for the largest heading. 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 used to identify and locate resources on the internet, such as web pages, images, videos, etc. The URL consists of various components, including the protocol (such as HTTP or HTTPS), the domain name or IP address of the server hosting the resource, and the specific path or query parameters to access the resource. By using a URL, users can easily navigate to and access specific resources on the internet.
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 in the HTML document where the visible content of the webpage is placed. It contains all the elements that are displayed on the webpage, such as text, images, links, and other media. The head tag, on the other hand, is used to define meta-information about the webpage, such as the title, character encoding, and linked stylesheets. The HTML tag is the root element of the HTML document, and the section tag is used to define sections within 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 path name should be specified.
Explanation
When specifying the source of an image referenced in your HTML document, the image should either be within the same folder as the HTML page or the complete path name should be specified. This means that the image file should be located in the same directory as the HTML file or the full file path should be provided to indicate the exact location of the image file. This ensures that the HTML document can correctly locate and display the image.
9.
This can be specified either as absolute pixels or a
percentage value of the screen.
Correct Answer
A. Table width
Explanation
The given statement explains that the width of a table can be specified either as absolute pixels or a percentage value of the screen. This means that the width of the table can be set to a fixed number of pixels or it can be set to a percentage of the available screen width. This flexibility allows for responsive design, where the table can adjust its width based on the size of the screen it is being viewed on.
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, merging them together.
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 purpose of the HTML blockquote tag is to define a long quotation. This tag is used to indicate that a section of text is a direct quote from another source, and it is typically displayed with indentation or some other formatting to distinguish it from the rest of the text.
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 use the HTML entity code "<". This is because the less than sign (
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 each item is listed with numbers.
15.
How many parts does a HTML character entity has
Correct Answer
B. A character entity has three parts
Explanation
A HTML character entity has three parts. This includes the ampersand (&), the entity name or number, and the semicolon (;). The ampersand is used to indicate the start of a character entity, the entity name or number represents the specific character being referenced, and the semicolon marks the end of the entity. These three parts together form a HTML character entity.
16.
Which is the correct HTML codes for a vertical frameset with 3 frames
Correct Answer
A. The tag - frameset cols= “500,250,250"
Explanation
The correct HTML code for a vertical frameset with 3 frames is "the tag - frameset cols= “500,250,250" because the "cols" attribute specifies the width of each frame in pixels. In this case, the first frame will have a width of 500 pixels, the second frame will have a width of 250 pixels, and the third frame will also have a width of 250 pixels. This will create a vertical frameset with 3 frames of different widths.
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 is because the "frame" tag is used to define an individual frame within a frameset, and the "src" attribute specifies the source file (in this case, "web_1.htm") to be displayed within the 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 one of the columns, and in this case, it is used to allocate the remaining space to the second column. 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 adds to the creativity and aesthetic of a web site
Explanation
Frames can enhance the creativity and aesthetic appeal of a website by allowing for the organization and presentation of multiple web pages within a single window. They provide a visually appealing way to display content, allowing for the creation of unique layouts and designs. By using frames, web designers have more flexibility in how they present information to users, resulting in a more visually engaging and dynamic website.
20.
How would you write Hello in an alert box?
Correct Answer
C. Alert ("hello");
Explanation
The correct answer is "alert ("hello");" This is because the alert function in JavaScript 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 equalt to in Javascript
Correct Answer
A. !=
Explanation
The symbol "!=" in JavaScript is used to check if two values are not equal to each other. It is a comparison operator that returns true if the values are not equal and false if they are equal. In other words, it is used to compare the inequality of two values in JavaScript.
22.
The variables Numb1 and numb1, are interchangeable in JavaScript
Correct Answer
B. False
Explanation
In JavaScript, variable names are case-sensitive. Therefore, Numb1 and numb1 are considered as two different variables. They are not interchangeable as they have different capitalization.
23.
An external JavaScript must contain the
tag
Correct Answer
A. True
Explanation
An external JavaScript file is included in an HTML document using the tag. This tag is used to define client-side scripts, including JavaScript, and must be present in the HTML file in order to link to an external JavaScript file. Therefore, the statement "An external JavaScript must contain the tag" is true.
24.
Where is the correct place to insert a JavaScript
Correct Answer
A. The body section
Explanation
The correct place to insert JavaScript is in the body section of an HTML document. This is because JavaScript code is meant to manipulate the content and behavior of the webpage, and it needs access to the HTML elements in order to do so. By placing the JavaScript code in the body section, it ensures that the HTML elements have been loaded and are accessible for manipulation. Placing JavaScript in the head section may cause issues as the code may run before the HTML elements are loaded.
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 primarily used for enhancing the functionality and interactivity of websites, such as browser detection, manipulating cookies, and validating form inputs. User verification typically involves authentication processes, such as verifying usernames and passwords, which are usually handled by server-side programming languages like PHP or ASP.NET.