Deck 3: Enhancing a Website With Images and Links
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/77
Play
Full screen (f)
Deck 3: Enhancing a Website With Images and Links
1
The _____ image format is used to create shapes such as circles, squares, rectangles, and lines.
A) JPG
B) GIF
C) SVG
D) PNG
A) JPG
B) GIF
C) SVG
D) PNG
C
2
A _____ element is used to define an area or division in a webpage.
A) desc
B) div
C) part
D) nav
A) desc
B) div
C) part
D) nav
B
3
Javier wants to enhance the look of the website by adding animation. What file format uses markup language and supports two-dimensional graphics, images, and animations?
A) SVG
B) JPEG
C) PNG
D) GIF
A) SVG
B) JPEG
C) PNG
D) GIF
A
4
_____ files are not suitable for high-quality pictures or photos because of the small color palette in them.
A) JPEG
B) GIF
C) SVG
D) PNG
A) JPEG
B) GIF
C) SVG
D) PNG
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
5
To reduce an image's file size, the GIF format uses a technique called _____ that maintains the file's color information.
A) lossless compression
B) sizing
C) image reformation
D) enhancement
A) lossless compression
B) sizing
C) image reformation
D) enhancement
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
6
JPG uses a(n) _____, made exclusively for digital photos, to reduce file size.
A) lossy compression
B) minimized compression
C) adjustable compression
D) reduction compression
A) lossy compression
B) minimized compression
C) adjustable compression
D) reduction compression
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
7
The fashion website for which Javier is creating content does not require a specific sequence to be followed when the fashion items are displayed to the viewers. In such a scenario, Javier can use _____ lists to structure the items that should be displayed on the website.
A) ordered
B) methodical
C) numbered
D) bulleted
A) ordered
B) methodical
C) numbered
D) bulleted
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
8
_____ are hyperlinks that primarily work on smartphones.
A) Telephone links
B) Absolute links
C) Image links
D) Itinerant links
A) Telephone links
B) Absolute links
C) Image links
D) Itinerant links
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
9
The _____ format is a 24-bit image that supports 16.7 million colors, which is why it is used for digital photos and other pictures with a high level of detail or color complexity, such as shadows.
A) JPG
B) GIF
C) SVG
D) PNG
A) JPG
B) GIF
C) SVG
D) PNG
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
10
To allow a user to navigate a website and move from one page to another, web designers must add ______ to a webpage.
A) indices
B) key values
C) attributes
D) hyperlinks
A) indices
B) key values
C) attributes
D) hyperlinks
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
11
The _____ image file format is used to create images that do not display a background color but have a transparent, or clear, background instead.
A) PNG
B) GIF
C) JPG
D) SVG
A) PNG
B) GIF
C) JPG
D) SVG
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
12
A webpage with a _____ does not change when the browser window is resized or the page is displayed at varying resolutions.
A) fluid layout
B) responsive layout
C) receptive layout
D) fixed layout
A) fluid layout
B) responsive layout
C) receptive layout
D) fixed layout
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
13
The _____ is an empty Hypertext Markup Language (HTML) tag.
A) image tag
B) anchor tag
C) div tag
D) class tag
A) image tag
B) anchor tag
C) div tag
D) class tag
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
14
Using a _____ element directly below the header element and then inserting the navigation links in this element ensures that the links appear near the header, where visitors can access them easily.
A) nav
B) class
C) div
D) lnk
A) nav
B) class
C) div
D) lnk
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
15
The _____ attribute is used to identify the image file being inserted in a webpage.
A) src
B) url
C) loc
D) load
A) src
B) url
C) loc
D) load
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
16
A _____ is the smallest element of light or color on a device displaying images.
A) src
B) tag
C) pixel
D) mark
A) src
B) tag
C) pixel
D) mark
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
17
An image's ____ text should be a brief description of the purpose of the image.
A) alternate
B) descriptive
C) standard
D) link
A) alternate
B) descriptive
C) standard
D) link
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
18
The _____ image format is not ideal for photographic images, as its lossless compression is not as efficient as that of the JPG format.
A) TIF
B) GIF
C) SVG
D) PNG
A) TIF
B) GIF
C) SVG
D) PNG
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
19
For hyperlinks that link to a telephone number, use an anchor element by including the href attribute, followed by _____.
A) "tellink:areacode+number"
B) "tel:+1number"
C) :"number"
D)
A) "tellink:areacode+number"
B) "tel:+1number"
C) :"number"
D)
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
20
When using images with large file sizes, a photo or graphics editor should be used to _____ the graphic for web use.
A) diminish
B) tag
C) optimize
D) replace
A) diminish
B) tag
C) optimize
D) replace
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
21
For a description list, each term should be marked between a pair of _____ tags.
A) and
B) and
C) and
D) and
A) and
B) and
C) and
D) and
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
22
The _____ tags must be at the start and end of an ordered list.
A) and
B) and
C) and
D) and
A) and
B) and
C) and
D) and
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
23
_____ is a starting div tag with an id attribute that has a value of menu.
A) div "id"=menu
B) html div id="menu"
C) div "menu"=id
D) div id="menu"
A) div "id"=menu
B) html div id="menu"
C) div "menu"=id
D) div id="menu"
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
24
div id="container" is used to insert a div element with an id attribute value of container to a website template. The ending div tag here should be _____.
A) /div
B) /div "id"=container
C) /div id="container"
D) /div ="id"
A) /div
B) /div "id"=container
C) /div id="container"
D) /div ="id"
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
25
The _____ tags must be at the start and end of heading level 1.
A) and
B) and
C) and
D) and
A) and
B) and
C) and
D) and
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
26
When specifying values for the height and width attributes of an image, the relative dimensions of the image must be used.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
27
The _____ tags must be at the start and end of an unordered list.
A) and
B) and
C) and
D) and
A) and
B) and
C) and
D) and
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
28
The PNG file format was designed to replace the GIF file format for web graphics.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
29
When the _____ element will contain all of the webpage elements, it is commonly referred to as the container or the wrapper because it contains or wraps around all of the webpage elements.
A) href
B) ref
C) id
D) div
A) href
B) ref
C) id
D) div
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
30
An unordered list displays a small graphic called a(n) _____ before each item of information.
A) int
B) bullet
C) tag
D) head
A) int
B) bullet
C) tag
D) head
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
31
A(n) ______ element begins with an a tag and ends with an /a tag.
A) header
B) absolute
C) relative
D) anchor
A) header
B) absolute
C) relative
D) anchor
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
32
To create a link to a webpage, one inserts a code in a(n) _____ document that references the webpage by its name and location.
A) CSS
B) CLASS
C) HTML
D) DIV
A) CSS
B) CLASS
C) HTML
D) DIV
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
33
To follow proper syntax with ______ elements, close each tag in the reverse order as you opened them.
A) absolute
B) stacked
C) nested
D) indexed
A) absolute
B) stacked
C) nested
D) indexed
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
34
The div attribute that identifies a unique area on a webpage and distinguishes it from other page divisions is the _____ attribute.
A) class
B) style
C) id
D) type
A) class
B) style
C) id
D) type
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
35
When text is coded as a hyperlink, it usually appears as highlighted text in a color different from the rest of the webpage text.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
36
_____ links are the most common type of hyperlink.
A) Server
B) Proxy
C) Text
D) Protocol
A) Server
B) Proxy
C) Text
D) Protocol
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
37
A description list should be defined between a pair of _____ tags.
A) and
B) and
C) and
D) and
A) and
B) and
C) and
D) and
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
38
A website template already contains the basic Hypertext Markup Language (HTML) code for the website. Using the template saves time _____.
A) debugging
B) analyzing
C) coding
D) testing
A) debugging
B) analyzing
C) coding
D) testing
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
39
Using a nav element directly below the _____ element and then inserting the navigation links in the nav element ensures that the links appear near the header, where visitors can access them easily.
A) header
B) f ooter
C) class name
D) main
A) header
B) f ooter
C) class name
D) main
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
40
All div elements must have a common id attribute value.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
41
You should always use the alt attribute in an image tag to specify alternate text in case the image cannot be displayed in a browser.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
42
GIF files can support over 16 million colors.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
43
The image tag, img, is an empty tag that does not have a beginning tag.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
44
Images help break up text and contribute to the design and aesthetics of a website.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
45
The lower the screen resolution, the sharper the text and images appear on a monitor.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
46
Business logos are the images that promote a company's presence and brand.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
47
The SVG image file format is used for shapes, lines, text, and gradients.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
48
On the web, links are the ancillary way to navigate among webpages and websites.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
49
Optimizing an image increases its file size and load time.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
50
The alt attribute provides information about the purpose of an image for assistive technology such as screen readers.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
51
Include the _____ attribute in a starting anchor tag to identify the webpage, email address, file, telephone number, or other content to access.
A) dt
B) ol
C) img
D) href
A) dt
B) ol
C) img
D) href
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
52
PNG supports transparency, but not animation.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
53
The PNG file format was designed to replace the GIF file format for web graphics.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
54
While optimizing an image, too much compression can degrade the quality of the image.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
55
To create a bookmark, you insert a(n) ______ attribute and value in the element where you want to include a bookmark.
A) alt
B) id
C) src
D) href
A) alt
B) id
C) src
D) href
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
56
To configure an image with a link, the starting anchor tag should be placed after the image element and the ending anchor tag should be placed before the image element.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
57
To reduce file size, a lossy compression discards some of the color information in the image, which reduces its original quality.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
58
By default, the font color of link text changes to red when a visitor taps or clicks a link.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
59
The JPEG image format is the oldest web file format and supports transparency and frame animation.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
60
The JPG image file format is used for images that are not digital photos.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
61
Hyperlinks that link to other webpages within the same website are known as _____.
A) relative links
B) image links
C) absolute links
D) email links
A) relative links
B) image links
C) absolute links
D) email links
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
62
Match between columns
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
63
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
64
An unordered list can use one of four different list options: disc, square, circle, or triangle.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
65
Explain the different types of lists.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
66
Steve has recently purchased his first digital camera. Since he has started capturing and using digital photos instead of non-digital ones, which image file format will be best suited for his use?
A) GIF
B) PNG
C) JPEG
D) SVG
A) GIF
B) PNG
C) JPEG
D) SVG
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
67
Discuss the pros and cons of the various image file formats. Also, give examples of how these formats are used.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
68
In a description list, for each item, the dt element must come before the dd element.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
69
Prior to HTML 5, div elements defined specific areas on a webpage, such as the header, navigation area, main content area, and footer.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
70
If one uses the ul start tag without specifying any type, the browser displays the default type, a square .
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
71
An ordered list is also known as a bulleted list.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
72
In an unordered list, the bulleted items can appear in any sequence.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
73
For email links, use anchor elements to link to an email address by including the href attribute followed by _____ and then the email address.
A) sendto:
B) mailto:
C) copyto:
D) referto:
A) sendto:
B) mailto:
C) copyto:
D) referto:
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
74
While dealing with high-resolution digital photos, Steve realizes that all of them have a very large file size. In order to reduce the file size, Steve must use a photo editor to _____ the image files.
A) tag
B) optimize
C) replace
D) restructure
A) tag
B) optimize
C) replace
D) restructure
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
75
Definition lists are useful to create a glossary-like list of terms.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
76
When assigning the attribute for an absolute link, begin with the _____ text.
A) index.html
B) mailto
C) http://
D) home
A) index.html
B) mailto
C) http://
D) home
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck
77
The div element can be added only outside the main element of a webpage.
Unlock Deck
Unlock for access to all 77 flashcards in this deck.
Unlock Deck
k this deck