itec 231 midterm
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
:nth-of-type(n)
How would you link to the named fragment #school on the page resume.html from the home page of the site?
<a href="resume.html#school">Educational Background</a>
To apply a style to one or more elements on a web page
configure a CSS ________., class
The CSS to create the class called myfloat that floats to the right of the other page content
has a 10px margin, and a solid border is:, .myfloat { float:right; margin:10px; border: 1px solid #000000; }
The ________ HTML5 element is used to configure the top logo area on a web page.
header
A type of graphic that is best-suited to photographs is:
jpg
Which of the following configures a margin for an element with the following values: top margin 30 pixels
left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?, margin:30px 0 0 150px;
From the choices below select the correct order to code CSS pseudo-classes.
link, visited, hover, active
A smaller version of a larger image that usually links to the larger image is called a:
thumbnail image
A ________ color scheme consists of shades
tints, or tones of the same color.,monochromatic
Choose the example below that configures a comment in CSS.
/* comment */
The default value for the border property for an element is:
0 pixels
Select the most popular screen resolution from those listed below.
1024 by 768
Which pseudo-element can be used to generate content that precedes an element?
:before
The tag used to create a horizontal line on a web page is:
<hr>
Select the item below that does not belong in a consistent website design.
a different background color on each page
Choose the attribute used to provide accessibility by configuring a text alternative that is available to browsers and other user agents that do not support graphics.
alt
Use the ________ property to resize or scale the background image.
background-size
Use the ________ property to configure rounded corners with CSS.
border-radius
Select the recommended design practice that applies to a website using images for main site navigation
both Provide alternative text for the images and Place text links at the bottom of the page
Which of the following CSS3 properties position the caption of a table?
caption
Which CSS property configures multiple lines in a flex container?
flex-wrap
A page layout technique that often uses a percentage value for width is called ________.
flexible
Components of responsive web design include:
fluid layout, flexible images, media queries
The ______attribute indicates if a style sheet configures for screen display or the printed page
media
Use the ________ property in the HTML link tag to to associate a web page with a style sheet for printing.
media="print"
The ________ element displays a visual gauge of a numeric value within a known range.
meter
A ________ is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements such as the logo
navigation, content, and footer, wireframe
Choose the item below that describes the process of creating an image with the lowest file size that still renders a good quality image.
optimization
The ________ is the area between the content and the border.
padding
The box model consists of a content area surrounded by:
padding, border, and margin
The four principles of WCAG 2.0 are as follows:
perceivable, operable, understandable, robust
What is the term used to describe image file that contains multiple small graphics?
sprite
When configuring the background color of an element
the background color is applied to both the content and ________ areas., padding
You should code width and height dimensions for images because:
the browser will be more efficient and the page will load faster.
Select the best reason to include height and width attributes on an <img> tag.
to help the browser render the page faster because it reserves the appropriate space for the image
True or False: A benefit of using the CSS Sprites technique is to decrease the number of HTTP request calls to the web server.
true
True or False: Animation should be used only if it enhances your website.
true