PTS 1 REF 198 200 3 What are the five generic font families Describe each

Pts 1 ref 198 200 3 what are the five generic font

This preview shows page 7 - 9 out of 9 pages.

PTS:1REF:198-2003.What are the five generic font families? Describe each briefly. What is the advantage of being able to use generic font families?PTS:1REF:2034.Describe the text-align, line-height, and text-decoration properties.
Background image
ANS:text-align:Use the text-align property to set horizontal alignment for the lines of text in an element. You can specify four alignment values: left, center, right, and justify. The justify value lines up the texton both horizontal margins, adding white space between the words on the line, like a column of text in a newspaper. The following style rule sets the <p>element to justified alignment:p {text-align: justify;}When choosing an alignment value, keep the default settings for the language and the user’s prefer-ences in mind. For example, most western languages read from left to right, and the default alignment is left. Unless you are trying to emphasize a particular section of text, use the alignment with which most readers are comfortable. Both right and center alignment are fine for short sections of text, but they make reading difficult for lengthier passages.Justified text lets you create newspaper-like alignment where the lines of text all have the same length. The browser inserts white space between the words of the text to adjust the alignment so both margins of the text align. Justify is not supported by all browsers, and different browsers might justify the text differently.line-height:CSS allows you to specify either a length or percentage value for the line height, which is also known as leading, the white space between lines of text. The percentage is based on the font size. Setting the value to 150% with a 1em font size results in a line height of 1.5em.The following rule setsthe line height to 150%:p {line-height: 150%;}The line-height property can increase the legibility of your text. Adding to the default line height in-serts additional white space between the lines of text. On a display device, increasing the white space
Background image
Image of page 9

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture