Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

NDSU Comm 260 Midterm Exam Study Guide

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
31-10-2024
Written in
2024/2025

NDSU Comm 260 Midterm Exam Study Guide ...

Institution
NDSU
Course
NDSU

Content preview

NDSU Comm 260 Midterm Exam
Study Guide
In the code that follows margin: 0 auto; the auto keyword means - Answer to center the
element horizontally within the containing block

The code that follows "border-style: solid none;" means that the box should have -
Answer solid top and bottom borders

The code that follows "padding: .5em 0 .25em;" applies this padding to an element: -
Answer .5em above, 0 left and right, and .25em below

To calculate the height of a box when using the box model, you add the height of the
content area to the sum of the heights of the - Answer top and bottom borders, and top
and bottom padding

When you set a border for a block element, you can set the color, style, and
_____________________________. - Answer width

In the box model, the border comes between the margin and the _____________________
for box. - Answer padding

If you set the background color for the body of a page to blue and you don't set the
background color for a section within the body, the background of the section will be
_____________________________. - Answer blue

If the bottom margin for one element is 1.5 em and the top margin for the element below
it is 1 em, how large is the margin between the two elements when the page is rendered
in a browser? ________________________________ - Answer 1.5 em

By default, the box for a block element is as wide as the _________________ that it's in. -
Answer container

By default, if you specify a background image for a block element, it will be
_____________________________ both horizontally and vertically so it fills the block
element. - Answer repeated

As a best practice, you should only use the height and width attributes of an img element
to specifiy - Answer the actual size of the image

Although the img element is an inline element, you can use CSS to
_______________________ an img element so the HTML elements that come after it will flow
into the space along side of it. - Answer float

The most common type of image format for photographs in web pages is the
_____________________ format. - Answer jpg

, To help the visually impaired, you should always provide an adequate description of the
image in the _______________________ attribute for the image. - Answer alt

Which of the following units of measurement is equal to the font size for the current font?
- Answer an em

Pseudo-class selectors let you apply formatting - Answer when specific conditions
occur

For user accessibility, you should apply the same formatting to the :focus pseudo-class
for an element as you apply to the ____________________ pseudo-class for that element. -
Answer :hover

Which of the following selectors applies to all <a> elements with "hot" as their class
name that are coded within a div element that has "header" as its id? - Answer #header
a.hot

Which of the following is NOT one of the ways that you can specify a color in CSS? -
Answer color: getColor("red");

Underlining and overlining are a type of text formatting that is referred to as text
____________________________. - Answer decoration

When you use an external style sheet with an HTML document, you get all but one of the
benefits that follow. Which one is it? - Answer Your CSS files are easy to create and
maintain

To provide the top-level formatting for a page, a style sheet commonly formats - Answer
body and HTML5 semantic elements

To include a CSS file in an HTML document, you use the _______________________
element. - Answer link

Times New Roman is a font ____________________________. - Answer family

To include styles in an HTML document, you can use an external style sheet, an
embedded style sheet or ____________________________ attributes on inline HTML
elements. - Answer style

Which of the following is a valid selector for a class named menu? - Answer menu

You can use ems or percentages to specify a _______________________ unit of
measurement. - Answer relative

In the rule set that follows, the selector applies to all elements that have "red" as their
____________________________ name. .red { color: red; } - Answer class

Which of the following selectors is most specific? - Answer #nav

If two CSS rules conflict, which of the following rules overrides the other rule? - Answer

Written for

Institution
NDSU
Course
NDSU

Document information

Uploaded on
October 31, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$9.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Flat West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
39
Member since
1 year
Number of followers
5
Documents
2117
Last sold
2 months ago

3.6

5 reviews

5
1
4
2
3
1
2
1
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions