Beispiel:CSS2 font-family-1.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" type="text/css" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css" />
	<link href="https://fonts.googleapis.com/css?family=Reenie+Beanie" rel="stylesheet"> 
	<title>Webfonts mit font-family einbinden</title>
<style>
h2 { 
  font-family: 'Reenie Beanie', cursive;
  font-size: 4em;
}
</style>
</head>

<body>
<h1>Webfonts mit font-family einbinden</h1>
<main>
	<h2>Überschrift in Schreibschrift</h2>
</main>
</body>
</html>