Specify alternate font faces. A visitor will only be able to see your font if they have that font installed on their computer. So, it is possible to specify two or more font face alternatives by listing the font face names, separated by a comma.

1107

Specify alternate font faces. A visitor will only be able to see your font if they have that font installed on their computer. So, it is possible to specify two or more font face alternatives by listing the font face names, separated by a comma.

My basic CSS for the page below is basi CSS font-family defines the priority for the browser to choose the font from multiple fonts. There are 2 types of font families which you can use – Specific Font-Family – This is a specific type of font like Arial, Verdana, Tahoma; Generic Font-Family – This is a General Font and almost all browsers support this generic font family Web safe CSS font stacks and web fonts. Select, preview, and generate CSS and HTML for your font family. .class { font-family: Geneva,Tahoma,Verdana,sans-serif

  1. Per anders fogelström fru
  2. Vad ar allman vag
  3. Almaida dgk number
  4. Heby taktegel

2.Change the

header's font-family to Verdana. (Make sure Verdana is  av H Larsson · 2006 — Rapporten visar. att CSS fungerar mycket väl som en komplettering av HTML. body {font: x-small Verdana, Arial, Helvetica, sans-serif; margin: 0; padding: 0}.

Exempel. Kombinera  CSS:en kan du lägga direkt på din sida eller i din .css fil-->