Thu Feb 23, 2012 12:48 am
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Use two different fonts in the same webpage </title>
<style rel="stylesheet" type="text/css">
div.FontOne {
font-family: Verdana, Arial, sans-serif;
font-size: 18px;
width:200px;
color:#541264;
}
div.FontTwo {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
width:200px;
color:#541264;
}
</style>
</head>
<body>
<div class="FontOne">
<p >In this example we use Verdana, Arial, sans-serif font family</p>
</div>
<br/>
<div class="FontTwo">
<p >In this example we use Arial, Helvetica, sans-serif font family</p>
</div>
</body>
</html>
|
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.