HOME > Webdesign > Html: Which Fonts Does The Language Know?

HTML: Which fonts does the language know?

In many applications it is almost to be expected to always find the same supported fonts. Of course, the question then arises, how many fonts and especially which ones are supported at all? Especially in the development of websites this question can be elementary.

HTML: This is what there is to know about fonts

HTML itself does not have any fonts and does not support any directly. The code makes much more use of embedded fonts or those that are local to the user.
  1. If a particular font is used on your web page but the end user does not own it, Times New Roman is used by default.
  2. However, depending on the structure of your website, this can already lead to initial problems in the display.
  3. For this reason, you either build the website in this font already or you embed an external font.
  4. This is independent of the user and is retrieved by HTML from another website, so that every visitor sees the same display of the website.

HTML: Webseite um Schriften ergänzen

  1. Damit Sie nicht in die Bredouille geraten, eine Schrift nicht darstellen zu können, binden Sie die genutzte Schrift direkt im Code ein.
  2. Nutzen Sie dafür diesen Codeabschnitt im <head> Ihrer Webseite: <link href="https://fonts.googleapis.com/css?family=Roboto:300i" rel="stylesheet">
  3. Ersetzen Sie den Link durch die entsprechende Schrift.
  4. Nun können Sie im CSS an unterschiedlichen Stellen die Schriftart zuweisen.

By Reta Skar

Media Markt: Check Gift Card Credit :: Samsung Galaxy S9 Plus: Screenshot - how to take it
USEFUL LINKS