Quick html question

Miscellaneous Forums/General Discussion/Quick html question

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can do this:
<html>
<head>
<link rel="stylesheet" type="text/css" href="test.css" />
</head>
<body>
<p class="myfont green">this is some text bla bla bla</p>
<p class="myfont blue">this is some more text but in a different color</p>
</body>
</html>

And use this test.css:
.myfont{
	font-size: 20px;
}

.green{
	color: #00FF00;
}

.blue{
	color: #0000FF;
}