programming-examples/css/Body tag font-family.html

45 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" subLang="en" xml:subLang="en">
<head>
<title>body tag font-family</title>
<style type='text/css'>
body {
color: red;
background-color:pink;
font-family:arial, sans-serif; }
p.one {font-family:verdana, sans-serif;}
p.two {font-family:times, times new roman;}
p.three {font-family:courier new, serif;}
</style>
</head>
<body>
<h1>Font Properties</h1>
<p class="one">Love is always bestowed as a gift - freely,<br>
willingly and without expectation.<br>
We don't love to be loved; we love to love.<br><br>
Leo Buscaglia</p>
<p class="two">Gravity. It keeps you rooted to the ground.<br>
In space, there's not any gravity.<br>
You just kind of leave your feet and go floating around.<br>
Is that what being in love is like?<br><br>
Josh Brand and John Falsey</p>
<p class="three">Love is always bestowed as a gift - freely,<br>
willingly and without expectation.<br>
We don't love to be loved; we love to love.<br><br>
Leo Buscaglia</p>
</body>
</html>