Chapter 4

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

An embedded style sheet includes the style sheet within the _____ tags of the HTML document.

<head> and </head>

One of four values--left (the default), center, right, or justify--can be used by the _____ property.

Text-align

Style sheets are said to _____ because each type of style has a specified level of precedence in relationship to the others.

cascade

The _____ property can be used to remove the float effect if one does not want text to wrap around an image.

clear

_____ can provide additional information about the area where styles are applied or other helpful explanations, such as what the styles do.

comments

Each Cascading Style Sheets (CSS) rule consists of selector and _____.

declaration

An internal style sheet is also known as a(n) _____ style sheet.

embedded

The code: <head> <title>My Website</title> <style> body { background-color: green; } </style> </head> exemplifies a(n) _____ style sheet where the style rule is placed between the opening <style> and closing </style> tags.

embedded

A(n) _____ style sheet is a CSS file that contains all of the styles you want to apply to more than one page in the website.

external

An _____ style sheet is used to create styles that apply to more than one webpage in a website.

external

The first step while using an _____ style sheet is to use a text editor to create and save a document with a .css extension.

external

When more than one value is provided for the font-family property, the additional values are called _____ values.

fallback

The _____ property allows the positioning of an element to the right or left of other elements.

float

The _____ property describes specific and general font names.

font-family

Identify the rule that centers an h1 element.

h1 { text-align: center; }

In the context of a style rule including a selector and a declaration, _____ formats h1 elements using blue text.

h1 {color: blue;}

The style rule used to set the same font family property and values for the header, nav, and footer elements is _____.

header, nav, footer { font-family: Calibri, Arial, sans-serif; }

A feature of the Cascading Style Sheets (CSS) properties is that paragraphs and headings can _____ the font and color rules for the body selector.

inherit

An _____ style takes precedence over other styles defined in a style sheet.

inline

An external style sheet is also called a(n) _____ style sheet.

linked

To create a class selector, the style rule should begin with a _____ followed by the class attribute value.

period

A valid unit of measurement for the font size property in CSS is _____.

pixels

The hexadecimal value 0000FF specifies a _____.

pure blue color

The _____ attribute of a link element uses the stylesheet value to indicate that a document is linked to a style sheet.

rel

All of the following are examples a block elements excepts _________.

span

A _____ rule is a rule that defines the appearance of an element on a webpage.

style

When a Cascading Style Sheets (CSS) document is _____, it confirms that all of the code is correct and follows the established rules for CSS.

validated

When errors are detected in a Cascading Style Sheets (CSS) file, the _____ provides information about the location of each error so that one can identify and correct them.

validator

Cascading Style Sheets (CSS) supports the following styles except

virtual

To style the div id="container" element, _____ is used as the selector.

#container

The correct representation of a Cascading Style Sheets (CSS) comment is _____.

/* Place your comment here */

_____ is a language used to describe the formatting of a document written in a markup language such as Hypertext Markup Language (HTML) 5.

CSS

The font-weight property takes the value _____.

bolder

The _____ separates the padding and the margin of a block element.

border

The _____ property rounds the corners of a block element's border.

border-radius

Jenny is a freelance web designer and uses style sheets that give her the flexibility to easily redesign or rebrand a website. Recently, Jenny has been contracted for a project wherein she needs to maintain a website for a leading orthopedic appliance manufacturer. Jenny decides to create an individual webpage for displaying the types of appliances manufactured by the company. She wants to give this webpage a style that is different from the rest of the website. Which of the following Cascading Style Sheets (CSS) styles should Jenny use if she wants to set the background color for the body section to green for the current webpage alone?

embedded

The declaration _____ indicates that the primary font that the browser tries to use is the Cambria font.

font-family: Cambria, "Times New Roman", serif;

Jenny is a freelance web designer and uses style sheets that give her the flexibility to easily redesign or rebrand a website. Recently, Jenny has been contracted for a project wherein she needs to maintain a website for a leading orthopedic appliance manufacturer.Jenny wants to enhance the look of the webpage by formatting individual sections of the webpage. Which of the following Cascading Style Sheets (CSS) styles should Jenny use so that the style changes the content marked up by a specific pair of tags but does not affect other content in the document?

inline

The best practice is to apply _____ styles when one wants to control the style of content within one pair of Hypertext Markup Language (HTML) tags.

inline

The span tag (<span>) and the anchor tag (<a>) are examples of _____ elements.

inline

With a(n) _____ style, one adds a style to the start tag for an element.

inline

_____ elements are displayed without line breaks so they flow within the same line.

inline

Using _____ as the value for the list-style-position property displays the bullet or number within the list's content block.

inside

Using the _____ property, to center all of the elements so that a page appears centered within a browser window, one should create styles to set the left and right margins to auto.

margin

By defining Cascading Style Sheets (CSS) styles in a style sheet separate from the Hypertext Markup Language (HTML) code, one can format a webpage in multiple ways except _____.

segregating paragraphs in a text

If one wants to format the content in the div id="container" section, then #container should be used as a(n) _____.

selected

In <h1 >Special Note</h1>, the _____ is everything between the quotation marks.

style rule

Mike is working on the development of a webpage for FreshGroceries. He has been asked to create a list of all the essential daily household goods that people can purchase easily through this online grocery store. Mike wants to further enhance the look of the webpage. He decides to display an image of some of the highly rated products beside the grocery list items instead of a standard bullet. On acquiring the required image from the owner of FreshGroceries, Mike saves it as a file named grocery.png. Which of the following style rules should be used to define the use of this image as a bullet for the unordered lists?

ul { list-style-image: url(grocery.png); }

Mike is working on the development of a webpage for FreshGroceries. He has been asked to create a list of all the essential daily household goods that people can purchase easily through this online grocery store. Mike decides to use the Cascading Style Sheets (CSS) list-style properties to create the list of all the grocery goods offered by the online store. Which of the following style rules is accurate if Mike wants to define a filled square bullet for an unordered list of all the grocery items?

ul { list-style-type: square; }


Set pelajaran terkait

MCAT Review - Kinematics & Dynamics

View Set

Second Year, First Quarter Review Exam

View Set

NURS401 Ch26: Vascular Disorders and Problems of Peripheral Circulation

View Set