MCOM 351 - Teach Yourself Visually HTML & CSS Chapter 11 - Formatting Text with Style Sheets
exam review questions
(p.202) You can make Web page text bold using the ________ property in a style rule.
(p.202) The font-weight values are lighter, normal, bold, and ________.
(p.202) When using the font-weight property in a style rule, you can also specify a number value using a multiple of 100 from 100 to ________ to control the boldness level. Not all browsers support this feature.
(p.203) You can use the ________ property to italicize Web page text.
(p.203) The font-style values are italic, ________, and normal.
(p.204) You can indent the first line in a paragraph using the ________ property in a style rule.
(p.204) You can set text indentation as a specific measurement value or as a percentage of the overall ________ width.
(p.205) You can use the ________ property to change the font size for a document’s text.
(p.205) Which of the following is not a valid font size value:
points (pt)
pixels (px)
millimeters (mm)
centimeters (cm)
decimeter (dm)
inches (in)
picas (pc)
x-height (ex)
em
(p.205) Which of the following is not a valid descriptive font size value:
xx-small
x-small
small
medium
normal
large
x-large
xx-large
(p.206) To change the font of your Web page text, you can use the ________ property.
(p.206) Because not all fonts are available on all computers, you should designate a second and even third font choice. This way, if the computer does not have the first choice installed, the browser tries to display the next choice instead.
true
false
(p.207) You can write a style rule that combines several font settings in one fell swoop using the ________ property.
(p.207) When combining multiple font settings, you can type the properties in any order.
true
false
(p.208) You can use the ________ property to change the text case for a tag.
(p.208) You can choose from four case values for the text-transform property: capitalize, uppercase, lowercase, and ________.
(p.209) You can control the horizontal positioning of block-level text in your page using the ________ property.
(p.209) Block-level text includes paragraphs, tables, and other elements that are preceded and followed by a(n) ________.
(p.209) You can align text to the left or right, center the text, or create ________ text.
(p.209) By default, most browsers align text to the ________ unless instructed otherwise.
(p.210) You can use the ________ property to adjust the spacing between lines of text.
(p.210) Another term for spacing between lines of text is ________.
(p.210) The line spacing value can be specified as a multiple of the ________ of the element’s font.
(p.210) You can also set a ________ or an absolute value for line-height spacing.
(p.211) You can control the spacing between characters using the ________ property.
(p.211) Another term for the spacing between characters is ________.
(p.212) You can use the ________ property to change the color of text in your Web page.
(p.212) When using the color property you can specify one of the predefined colors or specify a color from the ________ color palette.
(p.213) You can use the ________ property to change the color that appears behind an element.
(p.213) Use caution when assigning a background color to an element, making sure the color does not clash with the ________ color.
(p.214) You can add a background ________ to an element using a style sheet rule.
(p.214) If a background image is small, the browser repeats, or ________, it to fill the background area.
(p.214) You can control the tiling of a background image using ________ values.
(p.215) Repeat options for a background image are: repeat, repeat-x, repeat-y, and ________.
(p.215) You cannot insert both a background color and a background image.
true
false
(p.216) You can add a border to a Web page element using the ________ property.
(p.216) You can specify a border thickness value in ________ or using one of three descriptive values: thin, medium, or thick.
(p.216) Which of the following is not a valid border style:
solid
double
groove
ridge
inset
outset
dotted
hollow
dashed
(p.216) If you do not set a border style with the border property, the browser will not display a border.
true
false
(p.217) Can you add a border to certain sides of an element instead of the entire element?
yes
no
(p.219) To remove a link underline, type ________.
(p.220) You can use a style rule to control how link text appears when the mouse pointer ________ over it.
(p.221) A hover style can give a user visual ________ that certain words on a page are clickable links.
(p.222) You can use the ________ property to change the bullet or number style for your unordered or ordered lists.
(p.222) Bullets come in three styles: circle, ________, and square.
(p.222) ________ is the default bullet style.
(p.223) To use an image as a bullet, you must include the ________ value to designate the location and name of the image.