1.
HTML stands for what?
Correct Answer
C. Hypertext Markup Language
Explanation
HTML stands for Hypertext Markup Language
2.
Every HTML document should have what?
Correct Answer
A. A head section, and within it a title, followed by a body
Explanation
Every Web page has a head section, and within it, a title, followed by a body.
3.
A head section is visible to a person viewing the Web page.
Correct Answer
B. False
Explanation
A body section is viewable to a person on the Web.
4.
Every Web page opens with HTML.
Correct Answer
A. True
Explanation
HTML (Hypertext Markup Language) is the standard markup language used for creating web pages. It is the foundation of every web page as it defines the structure and layout of the content. Therefore, it is correct to say that every web page opens with HTML.
5.
Every Web page closes with ......body.
Correct Answer
B. False
Explanation
Every Web page closes with ....../HTML
6.
The head section of a Web page goes to the Internet and is not visible to the person viewing the page.
Correct Answer
A. True
Explanation
The head section of a web page contains meta information and links to external resources, such as CSS files and JavaScript files. This section is not visible to the person viewing the page because it is not rendered in the browser window. It is responsible for providing instructions and defining the structure of the page, but its contents are not directly displayed to the user. Therefore, the statement "The head section of a Web page goes to the Internet and is not visible to the person viewing the page" is true.
7.
Which tag would insert a graphic into a Web page?
Correct Answer
A. Img src=Glass.jpeg
Explanation
would insert an image title "Glass.jpeg" into a Web page.
8.
H1 is a larger size text than H2.
Correct Answer
A. True
Explanation
The explanation for the given correct answer is that H1 is indeed a larger size text than H2. In HTML, H1 is the highest level heading and is typically displayed with the largest font size, while H2 is a lower level heading with a smaller font size. Therefore, it is true that H1 is larger than H2.
9.
Whenever you want to make a link you should use the element (e) tag.
Correct Answer
B. False
Explanation
You should use the "a" element
10.
Use this tag to emphasize text.
Correct Answer
C. Em
Explanation
The correct answer is "em". The given options are a, m, em, and tb. Among these options, "em" is the only one that is a valid HTML tag. The "em" tag is used to emphasize text in HTML, making it appear in italics.
11.
You wish your list to be in a particular order. Which tag should you use?
Correct Answer
C. Ol
Explanation
To ensure that your list is in a particular order, you should use the "ol" tag. The "ol" tag stands for "ordered list" and is used to create numbered lists. This tag automatically assigns numbers to each list item, maintaining the desired order. The other options mentioned, such as "lil," "ls," and "os," are not valid HTML tags and do not serve the purpose of organizing a list in a specific order.
12.
Which tag would be used for a line break?
Correct Answer
B. Br
Explanation
The tag is used for a line break in HTML. It creates a single line break without any additional spacing or indentation. This tag is commonly used when you want to break a line of text or start a new line within a paragraph.
13.
It is acceptable to add quotation marks to Web page text.
Correct Answer
B. False
Explanation
You must use the tag.
14.
Www.newcaneynews.com
Correct Answer
B. Newcaneynews is the domain name
Explanation
The domain name refers to the unique address that identifies a website on the internet. In this case, "newcaneynews" is the domain name because it is the main identifier for the website "www.newcaneynews.com". The "www" and "com" are not considered part of the domain name, but rather indicate the protocol and top-level domain respectively.
15.
What allows you to transfer your html files to a Web server?
Correct Answer
B. FTP which stands for File Transfer Protocol
Explanation
FTP, which stands for File Transfer Protocol, allows you to transfer your HTML files to a web server. FTP is a standard network protocol that is used to transfer files from one host to another over a TCP-based network, such as the internet. It provides a simple and efficient way to upload and download files to and from a web server. By using FTP, you can easily transfer your HTML files from your local computer to a web server, making them accessible to users on the internet.
16.
The first part of a URL (http) describes the resource used to retreive a Web resource.
Correct Answer
A. True
Explanation
The first part of a URL, which is typically "http", is known as the protocol and it describes the resource that is being used to retrieve a web resource. This protocol is used to establish a connection between the client (web browser) and the server, allowing the client to request and receive the desired web resource. Therefore, the statement is true.
17.
An absolute path is what a server needs to locate the file being requested.
Correct Answer
A. True
Explanation
An absolute path is a complete and specific file path that includes the full directory structure, starting from the root directory. When a server receives a request for a file, it needs the absolute path to accurately locate and retrieve the file. This is because the absolute path provides the exact location of the file within the directory structure, ensuring that the server can find and deliver the requested file correctly. Therefore, the statement that an absolute path is what a server needs to locate the file being requested is true.
18.
A home page is the same as your index page.
Correct Answer
A. True
Explanation
A home page and an index page are typically used interchangeably to refer to the main page of a website that serves as the starting point for visitors. Therefore, it can be concluded that a home page is indeed the same as an index page.
19.
A typical URL consists of a lead, transition, and summary.
Correct Answer
B. False
Explanation
A typical URL consists of a protocol, Web site name, and absolute path.
20.
Which format is best for high quality Web photos?
Correct Answer
C. JPEG
Explanation
JPEG is the best format for high-quality web photos because it offers a good balance between file size and image quality. It uses lossy compression, which means that some image data is discarded to reduce file size, but the compression is optimized in a way that minimizes noticeable loss of quality. This makes JPEG ideal for web photos where smaller file sizes are important for faster loading times, while still maintaining a high level of image detail and color accuracy. TIF is a large file format primarily used for print and professional applications, GIF is more suitable for simple graphics and animations, and QRL is not a recognized image format.
21.
A lossy format means the file does not get rid of data and lose quality.
Correct Answer
B. False
Explanation
Lossless formats do not get rid of data and lose quality.
22.
Which formats are examples of lossless files?
Correct Answer
B. GIF & TIF
Explanation
GIF and TIF are examples of lossless file formats because they both use compression techniques that preserve all the original data and do not result in any loss of quality. JPEG and PNG, on the other hand, are examples of lossy file formats as they use compression techniques that discard some data in order to reduce file size, which can result in a loss of quality. RGB and CMYK, mentioned in the options, are not file formats but color models used in digital imaging.
23.
Even though a GIF is lossless, it is a compressed format (Reduces files size and does not use much memory).
Correct Answer
A. True
Explanation
GIF (Graphics Interchange Format) is a lossless image format, meaning it does not lose any image quality when compressed. However, it is still a compressed format, which means it reduces file size by eliminating unnecessary data. This compression allows GIFs to be easily shared and viewed on the internet without using excessive memory. Therefore, the statement that "Even though a GIF is lossless, it is a compressed format" is true.
24.
JPEG does not support transparency.
Correct Answer
A. True
Explanation
JPEG (Joint Photographic Experts Group) is a commonly used image format that is primarily designed for storing and compressing photographic images. Unlike other image formats such as PNG or GIF, JPEG does not have built-in support for transparency. This means that when an image is saved in JPEG format, any transparent areas will be filled with a solid color, typically white. Therefore, the statement "JPEG does not support transparency" is true.
25.
GIF does not support transparency.
Correct Answer
B. False
Explanation
Does support transparency.
26.
A general rule is that the element width and height attributes should match the actual size of the photo on a Web page.
Correct Answer
A. True
Explanation
Generally, you should specify width and height to handle space for the image and not the actual size of the image.
27.
What is the tag beginning the section of the Web page that is visible to the viewer/user?
Correct Answer
C. <Body>
Explanation
The correct answer is. This tag is used to define the main content of the webpage that is visible to the viewer or user. It contains all the elements and text that are displayed on the webpage, such as headings, paragraphs, images, links, etc. The openingtag marks the beginning of this section, while the closing tag marks the end.
28.
You should begin a paragraph with ....<p>
and end the paragraph with .....</p>
Correct Answer
A. True
Explanation
Beginning a paragraph with "" and ending it with "" is the correct way to structure a paragraph in HTML. The "" tag is used to define a paragraph in HTML, and it indicates the start of a new paragraph. The closing tag "" is used to mark the end of the paragraph. This is a standard practice in web development and is necessary for proper formatting and organization of content on a webpage.
29.
What is the tag that begins a list of items?
Correct Answer
C. Ol or ul
Explanation
The correct answer is "ol or ul" because these are the HTML tags used to create a list of items. "ol" stands for ordered list and is used when the items in the list have a specific order or sequence. "ul" stands for unordered list and is used when the items in the list do not have a specific order. Both tags are used to structure and organize content on a webpage.
30.
Why is it not a good idea to use the element width and height attributes to resize a large photo on a Web page?
Correct Answer
B. The browser will still have to work hard, because the image being resized is still large.
Explanation
Using the width and height attributes of the element to resize a large photo on a web page is not a good idea because the browser will still have to work hard to resize the image, even though it is still large. This means that the browser will have to use additional resources to resize the image, resulting in slower loading times and potentially affecting the performance of the webpage. It is better to resize the image before uploading it to the web page to ensure optimal loading and performance.
31.
Which format is used for exchanging files over the internet?
Correct Answer
B. FTP
Explanation
FTP (File Transfer Protocol) is the correct answer for this question. FTP is a standard network protocol used for transferring files from one host to another over a TCP-based network, such as the internet. It provides a simple and efficient way to exchange files between computers, allowing users to upload, download, and manage files remotely. FTP is widely used for website maintenance, software distribution, and other file sharing purposes on the internet.
32.
A meta tag is used to reach internet search engines.
Correct Answer
A. True
Explanation
A meta tag is a snippet of HTML code that provides information about a webpage to search engines. It helps search engines understand the content and purpose of the webpage, which in turn improves the webpage's visibility in search engine results. Therefore, it is correct to say that a meta tag is used to reach internet search engines.
33.
Which is the default text size of internet web page text?
Correct Answer
B. <h3>
Explanation
The default text size of internet web page text is .
34.
A GIF format is/has.....
Correct Answer
D. All are correct.
Explanation
The given answer states that all of the options are correct. This means that a GIF format does indeed have 256 colors, a larger size than JPEG, and it is also lossless. GIF images are limited to a maximum of 256 colors, making them suitable for simple graphics and animations. They tend to have larger file sizes compared to JPEG due to their lossless compression, which preserves all the image data. Therefore, all the statements mentioned in the answer are accurate.
35.
Which statement about the GIF format is incorrect?
Correct Answer
B. GIF stands for Generic Interchange Format
Explanation
GIF stands for Graphics Interchange Format, not Generic Interchange Format. This is a common misconception. The other statements are correct: GIFs are bitmap images that can store multiple images and create animations with continuous loops.
36.
Correct the tags!
</html>
</head>
</title>Houston News<title>
<head>
</body>Find Out More<body>
<html>
Correct Answer
B. Closing tags, such as </html>, should be moved to the end (close) or each section.
Explanation
The closing tags, such as , should be moved to the end (close) of each section. In the given code, the closing tag is placed in the middle of the code instead of at the end. To correct this, the closing tag should be moved to the end of the code.
37.
Which tag begins a new paragraph?
Correct Answer
D. <p>
Explanation
The correct answer is . The tag is used to define a paragraph in HTML. It is a block-level element that starts a new paragraph and creates a vertical space between the paragraphs. The and tags are not valid HTML tags, and the tag is used to define a list item in an ordered or unordered list, not a paragraph.
38.
The <html> tag tells web browsers the document is an html document.
Correct Answer
A. True
Explanation
The tag is used to define the root element of an HTML document. It tells web browsers that the document is an HTML document and provides the structure for all other HTML elements. This tag is required in every HTML document and is the starting point for creating a webpage. Therefore, the given statement is true.
39.
Which describes CSS
Correct Answer
D. A & B are correct
Explanation
The answer "A & B are correct" is the correct answer because it accurately states that CSS stands for Cascading Style Sheets and that CSS is used to control the appearance of web pages with colors.
40.
An element is composed of....
Correct Answer
B. Opening tag, content, closing tag
Explanation
An element in HTML is composed of an opening tag, which indicates the start of the element, followed by the content, which is the information or data contained within the element, and finally a closing tag, which marks the end of the element. This structure is used to define and organize the different parts of a webpage in HTML.
41.
Like all tags, the <img> requires a closing tag.
Correct Answer
B. False
Explanation
The statement is false because the tag does not require a closing tag. It is a self-closing tag, which means it does not need a separate closing tag. The tag is used to insert an image into an HTML document, and it does not have any content that needs to be closed off.
42.
All web pages should have an <html>, <head>, and a <body> element.
Correct Answer
A. True
Explanation
All web pages should have an , , and a element because these elements are essential for creating the structure and content of a webpage. The element defines the root of an HTML document, the element contains meta-information about the document, and the element represents the content of the document. Without these elements, the webpage would not be properly structured and may not display correctly in web browsers. Therefore, it is necessary for all web pages to include these elements.
43.
Which statement/s about CSS are true?
Correct Answer
D. A & B
Explanation
The correct answer is A & B. CSS goes inside the element and the element should be inside the element.
44.
How would you add the background color yellow?
Correct Answer
C. <body style="background-color:yellow;">
Explanation
To add the background color yellow, you would use the CSS property "background-color" and set it to the value "yellow". The correct answer is "" as it applies the background color yellow to the entire body of the webpage.
45.
Which of the following statements about hyperlinks in the context of web development is FALSE?
Correct Answer
A. Hyperlinks can only link to entire web pages, not specific sections within a page.
Explanation
Hyperlinks can indeed link to specific sections within a web page using anchor tags (<a>) and ID attributes. This allows for precise navigation within a document. The other options are true: the target attribute controls how the link opens, search engines use links for indexing, and well-structured hyperlinks improve website accessibility.
46.
Which tag begins emphasized text
Correct Answer
A. <em>
Explanation
The tag that begins emphasized text is .
47.
Creates horizontal lines
Correct Answer
C. <hr>
Explanation
The correct answer is "". This is because the "" tag is used in HTML to create a horizontal line on a webpage. It is a self-closing tag, meaning it does not require a closing tag. The other options, "", "", and "", are not valid HTML tags and do not create horizontal lines.
48.
less-than and greater-than angle brackets surrounding an element creates a ______.
Correct Answer
D. Tag
Explanation
The use of less-than and greater-than angle brackets surrounding an element creates a tag. Tags are used in HTML and XML to define elements and their properties. They allow the browser or parser to understand the structure and formatting of the content within the tags.
49.
Attributes are properties used to provide additional information about an element.
Correct Answer
A. True
Explanation
Attributes are indeed properties used to provide additional information about an element. In HTML, attributes are used to modify the behavior or appearance of HTML elements. They can include information such as the element's ID, class, style, or other specific characteristics. By using attributes, developers can enhance the functionality and presentation of their web pages.
50.
Which is an attribute: <a href="http://MessianicNews.net/">News</a>
Correct Answer
B. Href
Explanation
The attribute in the given question is "href". In HTML, the "href" attribute is used to specify the URL or destination of a link when using the anchor tag (). It determines where the user will be directed to when they click on the link.