IMED 1316

TEST IV

 

NAME_______________________________________DATE_______________

 

1.                  Style sheets use a common language called

a.       HTML

b.      UNIX

c.       CSS

d.      DHTML

 

2.                  When you create a(n) _____________________ style, you add styles to each individual tag within the HTML file.

a.       Embedded

b.      Inline

c.       Global

d.      Linked

 

3.                  When you create a(n) _____________________ style, you apply a style to the entire HTML file.

a.       Embedded

b.      Inline

c.       External

d.      Linked

 

4.                  When you create a(n) _____________________ style, sheet, the result is a text file containing the style declaration.

a.       Embedded

b.      Inline

c.       Global

d.      Linked

 

5.                  If you need to format just a single section in your Web page, you’d probably use a(n) ____________________ style.

a.       Embedded

b.      Inline

c.       Global

d.      Linked

 

6.                  If you need to modify all instances of a particular element in a Web page, you’d use a(n) _____________________ style.

a.       Embedded

b.      Inline

c.       External

d.      Linked

 

 

 

7.                  If you need to control the style for an entire Web site, you would use a(n) _____________________ style sheet.

a.       Embedded

b.      Inline

c.       Global

d.      Linked

 

8.                  To create a(n) _____________________ style, you add the STYLE property to the HTML tag.

a.       Embedded

b.      Inline

c.       Global

d.      Linked

 

9.                  To create an embedded style, you insert a <STYLE> tag within the ______________________ section of your HTML file.

a.       Body

b.      Head

c.       Footer

d.      Main

 

10.              The syntax of an embedded style declaration is: <STYLE ______________________=“style sheet language”> style declarations </STYLE>.

a.       DECLARE

b.      SORT

c.       TYPE

d.      SELECT

 

11.              Most style sheets have the extension _______________________, though this is not a requirement.

a.       .css

b.      .ext

c.       .txt

d.      .style

 

12.              The _______________________ command allows you to link a style sheet to a Web page.

a.       @link

b.      @import

c.       Connect

d.      Page-link

 

 

 

13.              An embedded style has precedence over a(n) ________________________ style sheet.

a.       Internal

b.      External

c.       Linked

d.      Inline

 

14.              The _______________________ tag is the ultimate parent, since it contains all of the other tags that you will use in formatting the content of the page.

a.       <HEAD>

b.      <BODY>

c.       <HTML>

d.      <COLOR>

 

15.              You could set all font color to blue using the following style definition: ____________________________.

a.       HEAD {color: blue}

b.      BODY {color: blue}

c.       HTML {color: blue}

d.      HTML {blue: color}

 

16.              To restrict the application of a style, you use a(n) ________________________ selector, which indicates the situation in which the style is to be applied.

a.       Appropriate

b.      Contingent

c.       Situational

d.      Contextual

 

17.              The ________________________ attribute allows you to choose a font face for use in your Web page.

a.       Font-family

b.      Font-face

c.       Face

d.      Font-style

 

 

18.              The standard way of controlling font sizes with HTML is by using the ________________________ property of the <FONT> tag.

a.       VALUE

b.      SIZE

c.       WIDTH

d.      POINT

 

 

19.              ________________________ units define the font size based on a standard unit of measurement.

a.       Absolute

b.      Relative

c.       Standard

d.      Embedded

 

20.              Unlike the absolute units, em and ex units are

a.       Scalable

b.      Entrenched

c.       Didactic

d.      Standardized

 

21.              CSS considers “bold” to be an aspect of the font’s

a.       Height

b.      Weight

c.       Color

d.      Style

 

22.              When the pointer passes over a hyperlink, the link changes appearance to indicate that the text is a link; this is called the __________________________ effect.

a.       Rollover

b.      Passover

c.       Linkage

d.      Inheritance

 

23.              If you wish to display the first line of your paragraphs in uppercase, you could create the following style definition: ____________________________.

a.       BODY:first-line {font-size: uppercase}

b.      BODY:first-line {font-effect: uppercase}

c.       P:first-line {text-transform: uppercase}

d.      <P CLASS=text-transform: uppercase>

 

24.              It is difficult to make quick changes to a page’s content if you first have to edit inline images to do so.                                                     T          F

 

25.              Using tables for layout comes at the expenses of making HTML files more complicated to write and interpret.                                          T          F

 

 

26.              If you do not explicitly define the size of header text, for example, the attribute is left to the browser’s internal style rules.              T          F

 

 

27.              The difference between the CLASS property and the ID property is that the value of the CLASS property must be unique.                           T          F

 

28.              You can apply the same CLASS value to multiply document tags.                                                                                                                      T          F

 

29.              The syntax of the <DIV> tag is <DIV CLASS=class_name> Document content </DIV>.                                                                      T          F

 

 

 

30.              The ___________________________ value of the background-repeat style tiles the image both horizontally and vertically until the entire background of the element is covered.

 

31.              What are the rules according to which margin values are applied to the margins of a box on a Web page?