Computer Science, asked by avnipandey61, 9 months ago

Choose the right syntax out of the following?

p { font-family= monospace}

p {fontfamily: mono-space;}

p { font-family: monospace;}

p {fontfamily - monospace;}

Plz answer this I will mark u all brainiest

Answers

Answered by RAAZ34
2

Answer:

Explanation:

Values are separated by commas to indicate that they are alternatives. The browser will select the first font in the list that is installed or that can be downloaded using a @font-face at-rule.

It is often convenient to use the shorthand property font to set font-size and other font related properties all at once.

You should always include at least one generic family name in a font-family list, since there's no guarantee that any given font is available. This lets the browser select an acceptable fallback font when necessary.

The font-family property specifies a list of fonts, from highest priority to lowest. Font selection does not simply stop at the first font in the list that is on the user's system. Rather, font selection is done one character at a time, so that if an available font does not have a glyph for a needed character, the latter fonts are tried. (However, this doesn't work in Internet Explorer 6 or earlier.) When a font is only available in some styles, variants, or sizes, those properties may also influence which font family is chosen.

Syntax

Answered by amsahana13
0

Answer:

p font-family= monospace

Similar questions