1.
Which of the following is true of the Alt attribute?
Correct Answer
D. All of these are true.
Explanation
The Alt attribute is true for all of the given statements. It provides a text alternative to images for screen reader users, allowing them to access the content of the image. It is also indexed by search engines, which can positively impact the ranking of the webpage in search results. Additionally, the Alt attribute is used when creating an image map to describe hotspots.
2.
When placing an image in an HTML page, leaving the Alternate Text field empty (in the Image Tag Accessibility Attributes dialog box) is the same as creating an empty alt attribute.
Correct Answer
B. False
Explanation
Leaving the Alternate Text field empty in the Image Tag Accessibility Attributes dialog box does not create an empty alt attribute. The alt attribute is used to provide alternative text for the image, which is important for accessibility purposes. When the Alternate Text field is left empty, the alt attribute is not created at all, which means that the image will not have any alternative text associated with it.
3.
The __________ image format is used for photos and some high color graphics with many colors or continuous tones; the format does not support transparency.
Correct Answer
D. JPEG
Explanation
JPEG is the correct answer because it is commonly used for photos and high color graphics that have many colors or continuous tones. JPEG format does not support transparency, which means it cannot have transparent backgrounds. PNG format, on the other hand, supports transparency. SVG is a vector image format used for scalable graphics, while GIF is mainly used for simple animations and supports transparency.
4.
The __________ image format supports both continuous-tone color and transparency.
Correct Answer
A. PNG
Explanation
The PNG (Portable Network Graphics) image format supports both continuous-tone color and transparency. This means that PNG images can display a wide range of colors and can also have transparent backgrounds, allowing them to be easily overlaid on different backgrounds without any visible border or background color. PNG is commonly used for web graphics and images that require transparency, such as logos and icons.
5.
Which method can be used to insert an image in Dreamweaver?
Correct Answer
D. All of these methods can be used.
Explanation
All of these methods can be used to insert an image in Dreamweaver. The Images button on the Common Insert panel allows users to select an image from their computer and insert it into their webpage. Dragging an image from the Files panel also allows users to insert an image into their webpage. Additionally, the Insert button in the Assets panel provides another way to insert an image. Therefore, all of these methods are valid options for inserting an image in Dreamweaver.
6.
Which of the following is the "tag" that identifies an image as an image in HTML?
Correct Answer
B. Img
Explanation
The "img" tag is used to identify an image as an image in HTML. It is a self-closing tag that does not require a closing tag. The "src" attribute within the "img" tag is used to specify the source or URL of the image file.
7.
Which attribute can be used to provide additional information, and appears as a tool tip when the user moves the mouse over an image?
Correct Answer
A. Title
Explanation
The attribute "Title" can be used to provide additional information and appears as a tool tip when the user moves the mouse over an image.
8.
Which attribute defines the file name for the specific image in an image tag?
Correct Answer
C. Src
Explanation
The src attribute defines the file name for the specific image in an image tag. This attribute specifies the URL or file path of the image that should be displayed.
9.
How can you tell if an image is selected in the document window?
Correct Answer
C. Handles appear on the selected image.
Explanation
When an image is selected in the document window, handles appear on it. Handles are small squares or circles that appear at the corners and sides of the selected image. They allow the user to resize, rotate, or move the image. This visual indication helps the user identify which image is currently selected and provides a clear indication of the boundaries of the selected image.
10.
Which function can be performed directly in Dreamweaver?
Correct Answer
D. All of these
Explanation
All of these functions (cropping, resampling, sharpening) can be performed directly in Dreamweaver. Dreamweaver is a web development software that provides various tools and features for designing and editing websites. These functions allow users to manipulate and enhance images within the software itself, without the need for external image editing software.
11.
What is the result of double-clicking an image in the Files panel?
Correct Answer
C. It prompts Dreamweaver to open the file in an image-editing application.
Explanation
Double-clicking an image in the Files panel prompts Dreamweaver to open the file in an image-editing application.
12.
What method is best if you place an image that is larger than necessary for the page in which it is placed?
Correct Answer
B. Resize the image in Dreamweaver, then resample the image; resampling discards pixels and reduces the weight of the image.
Explanation
Resizing the image in Dreamweaver and then resampling it is the best method when placing an image that is larger than necessary for the page. Resampling allows for the removal of unnecessary pixels, reducing the file size and optimizing the image for web display. This ensures that the image does not negatively impact the page's loading time and overall performance.
13.
To resize an image proportionately, hold the __________ key while dragging the image corner handle.
Correct Answer
B. Shift
Explanation
To resize an image proportionately, holding the Shift key while dragging the image corner handle is necessary. The Shift key helps maintain the aspect ratio of the image, ensuring that it is resized in a proportional manner. This prevents the image from becoming distorted or stretched unevenly.
14.
A(n) __________ is used to create different links in different parts of a single image.
Correct Answer
D. Image map
Explanation
An image map is used to create different links in different parts of a single image. This allows users to click on different sections of the image and be directed to different web pages or perform different actions. Image maps are commonly used in website design to create interactive and visually appealing navigation menus or clickable graphics.
15.
Using CSS, __________ selectors assign properties to specific HTML tags.
Correct Answer
C. Tag
Explanation
In CSS, tag selectors are used to assign properties to specific HTML tags. This means that any HTML element with the specified tag will have the assigned properties applied to it. For example, if we use the tag selector "p", all paragraph elements in the HTML document will have the assigned properties.
16.
Which background-repeat option causes a background image to repeat vertically but not horizontally?
Correct Answer
C. Repeat-y
Explanation
The background-repeat option "Repeat-y" causes a background image to repeat vertically but not horizontally. This means that the image will be repeated in a vertical direction to fill the entire background, but it will not be repeated horizontally.
17.
Which character must preceded a hexadecimal color value in HTML code?
Correct Answer
A. #
Explanation
In HTML code, the character "#" must precede a hexadecimal color value. This is because the "#" symbol is used to indicate that the following characters represent a hexadecimal color code. Hexadecimal color codes are commonly used in HTML to specify colors for elements on a webpage.
18.
The ___________ ____________ selector is used to define the appearance of a link when the mouse rolls over the link object.
Correct Answer
B. :hover pseudo-class
Explanation
The :hover pseudo-class selector is used to define the appearance of a link when the mouse rolls over the link object.
19.
Which of the following is true of Flash files placed in a Web page?
Correct Answer
A. You can preview the multimedia file using the Dreamweaver Live view.
Explanation
The correct answer is that you can preview the multimedia file using the Dreamweaver Live view. This means that within Dreamweaver, you can view and test how the Flash file will appear and function on a web page without having to export or preview it in a browser. This feature allows for convenient and efficient editing and testing of Flash files within the Dreamweaver software.
20.
Because a(n) __________ is used as a representation of the entire Web site, the necessary file is stored in the root folder of the Web site.
Correct Answer
C. Favicon
Explanation
A favicon is a small icon that is used to represent an entire website. It is typically displayed in the browser's address bar, tabs, and bookmarks. Since the favicon is a representation of the entire website, the necessary file is stored in the root folder of the website. This allows the browser to easily locate and display the favicon whenever the website is accessed.