?Explain the styles to control some basic typographic attributes, such as kerning, tracking, and leading. Also, mention when a hanging indent is created.

What will be an ideal response?


?Kerningmeasures the amount of space between characters, while tracking measures the amount of space between words. The properties to control an element's kerning and tracking are            letter-spacing: value;            word-spacing:   value;wherevalue is the size of space between individual letters or words. These sizes can be specified with the same units as used for font sizing. The default value for both kerning and tracking in 0 pixels. A positive value increases the letter and word spacing, while a negative value reduces the space between letters and words.?Leadingmeasures the amount of space between lines of text and is set using the following line-height property:            line-height: size;wheresizeis a value or a percentage of the font size of the text on the affected lines. If no unit is specified, the size value represents the ratio of the line height to the font size. The default value is 1.2 or 1.2em so that the line height is 20% larger than the font size. By contrast, the following style sets the line height to twice the font size, making the text appear double-spaced:            line-height: 2em;?An additional way to control text spacing is to set the indentation for the first line of a text block by using the following text-indent property:            text-indent: size;where size is expressed in absolute or relative units, or as a percentage of the width of the text block. For example, an indentation value of 5% indents the first line by 5% of the width of the block. The indentation value can be negative, extending the first line to the left of the text block to create a hanging indent.?

Computer Science & Information Technology

You might also like to view...

In general, you want to avoid doing things that, in the future, might require you to change working code.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Select the value of the type attribute that configures an HTML5 slider control.

a. spinner b. range c. number d. input

Computer Science & Information Technology

A driver object can only have one device connected to it.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A global network of computer networks.

A. Blogosphere B. Internet C. World Wide Web

Computer Science & Information Technology