Font family (HTML)

Font Family (HTML)

Font family (HTML)

to get instant updates about 'Font Family (HTML)' on your MyPage. Meet other similar minded people. Its Free!


All Updates

In HTML and XHTML, a font face or font family is the typeface that will be applied by a web browser to some text. The font is relevant for the display of text on the screen, on a printer or another device.

A font family and other presentational attribute of a font may be applied in HTML code in either cascading style sheets (CSS) or the deprecated HTML <code>font</code> element.

<source lang="css">.text </source><source lang="html4strict"><p class="text">Sample text formatted with CSS in a separate stylesheet.</p>

<p style="font-family: times, serif; font-size:14pt; font-style:italic">Sample text formatted with inline CSS.</p>

<p><i><font face="times, serif" size="3">Sample text formatted with the deprecated FONT tag.</font></i></p></source>

In CSS, a font-family (or face in HTML) in fact consists of a set of related fonts, grouped as font families. For example, the Times family includes different font sizes, styles (like roman and italic) and weight (like regular and bold).

The web browser will only be able to apply a font if it is available to it, which is not always the case. HTML code writers may list in preferential order font families to use when rendering text. The font list is separated by commas (as shown above). To avoid unexpected results, the last font family on the font list will be one of the five generic families...
Read More

No feeds found

Posting your question. Please wait!...

No updates available.
No messages found
Suggested Pages
Tell your friends >
about this page
 Create a new Page
Create a new Page
 Find your friends
  Find friends on MyPage from