CSS: simple example – inline


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
p {
font-family: Arial, Helvetica, sans-serif;
font-size: 60px;
color: #FF00FF
}
ul li {
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: 10px;
color: #FF9500
};
</style>
</head>
<body>
This is what we find
<h2>second level heading</h2>
<ol>
	<li>First entry</li>
	<li>Second entry</li>
	<li>Third entry</li>
</ol>
<ul>
	<li>First entry</li>
	<li>Second entry</li>
	<li>Third entry</li>
</ul>
</body>
</html>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s