Cascading Style Sheets (CSS) and Graphical Elements

Cascading Style Sheets (CSS) and Graphical Elements

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

One simple change to the style sheet will change all elements across the site.

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (41)

Section 1

(41 cards)

One simple change to the style sheet will change all elements across the site.

Front

Which of the following can be considered a benefit of Cascading Style Sheets (CSS)?

Back

Graphics Interchange Format (GIF)

Front

Which Web image format is best suited for line art, custom drawings and navigational images?

Back

10.

Front

In hexadecimal code, the number 16 is represented as:

Back

add a horizontal line to a Web page.

Front

You use the <hr> tag to:

Back

Older browsers do not render the PNG format.

Front

Which of the following can be considered a disadvantage of the Portable Network Graphics (PNG) format?

Back

display a graphical image on a Web page.

Front

You use the <img> tag to:

Back

Cascading Style Sheets

Front

Which technology enables you to place formatting instructions in an external text file to determine the look and feel for a Web page or site?

Back

will render consistently in any browser or with any operating system.

Front

The browser-safe color palette is a standard of 216 colors that:

Back

You must start the escape sequence with an ampersand ( & ) and end with a semicolon ( ; ).

Front

You can include non-keyboard characters in Web pages, such as © and ®, by entering a special HTML code for each character, called the escape sequence. With what characters must you start and end the escape sequence?

Back

A rule

Front

Consider the following code from a CSS document: body {color: teal; font: white;} This code is an example of what?

Back

A semicolon ( ; )

Front

In a style sheet, what must you use to separate multiple declarations for one selector within a rule?

Back

White

Front

What color does the hexadecimal value #FFFFFF represent?

Back

The src and alt attributes

Front

Which attributes are required for the <img> tag in HTML?

Back

The computer will compensate by dithering.

Front

What will occur if your HTML code asks for a color that the browser or operating system cannot support?

Back

The <nav> structure element

Front

HTML5 with CSS has introduced specific elements to structure Web pages. In which structure element should you include hypertext menus to access various pages of the Web site?

Back

Implementing a liquid design layout using CSS

Front

Which of the following is considered to be the preferred method of designing Web pages?

Back

External CSS classes

Front

Which of the following would be the best method to use for floating images to the left and right of text in HTML5 if you are developing sites with multiple pages?

Back

The alt attribute

Front

Which <img> tag attribute specifies alternative text to appear while a graphic is loading, or in place of the graphic in non-graphical browsers?

Back

If you list multiple fonts in the font-family property, the next font will attempt to render if the first font is not supported.

Front

CSS allows you to change the typeface of text. Which of the following statements about the font-family property is true?

Back

The background-color property

Front

Which property can you add to the body selector in an external CSS file to specify the color of the page background?

Back

Color combinations can convey the personality of the site by imposing tone and mood.

Front

Which of the following is true about the color combinations you use for your Web site?

Back

in which the more an image is compressed, the more its quality is reduced.

Front

Lossy compression is a compression technology:

Back

The font will display as a default font face.

Front

What happens if you specify a font name in an external CSS file that a user's system does not support?

Back

a:link

Front

Which attribute of the anchor (<a>) element determines the color of unvisited hyperlinks?

Back

The alt attribute

Front

Which attribute should you use with the <img> tag to specify the text to display if a user has configured his or her browser not to display images?

Back

Because XHTML will render the additional spaces or hard returns, which may affect the placement of the image on the page

Front

Why should you avoid adding spaces or hard returns within an <img> tag?

Back

Joint Photographic Experts Group (JPEG)

Front

Generally, which Web image format should you use if you want the highest image quality?

Back

Insert non-breaking spaces.

Front

Which technique should you use to indent a paragraph or create additional spaces between words on an HTML page?

Back

Black

Front

What color does the hexadecimal value #000000 represent?

Back

Any element to which designated styles are applied

Front

What is a CSS selector?

Back

with a 3-D shading effect.

Front

By default, horizontal rules display:

Back

Headings (h1 through h6) should be used whenever possible instead of the font-size property.

Front

CSS allows you to change the size of text. Which of the following statements about the font-size property is true?

Back

To avoid distorting the image

Front

Why should you maintain an image's relative measurements if you resize it?

Back

bottom

Front

What is the default value for aligning images relative to text using CSS?

Back

the higher the numeric value representing a color, the lighter that color will be.

Front

In RGB code:

Back

White

Front

What color does the mixture of red, green and blue light on a monitor screen produce?

Back

non-keyboard characters.

Front

The HTML code < and > are examples of:

Back

The page will render without the image file, and a small box with an X will appear in its place.

Front

What happens when you place an image file in a subdirectory and neglect to reference the subdirectory in the <img> tag's src attribute?

Back

The rule will be ignored.

Front

What happens when you place a CSS rule between the / and / characters?

Back

Curly braces ( { } )

Front

In a CSS document, within what must you enclose properties and values when you define a rule for a specified selector?

Back

Because most users simply scan pages quickly looking for specific information or links to it

Front

Why should you use succinct wording on Web pages, especially the home page, when designing your site?

Back