HTML and CSS Reference
In-Depth Information
4.
Save
layout.css
.
5.
Open
advlayout.html
and add the
.smalltext
class using an
in-page style:
<html>
<head>
<style type="text/css">
.smalltext {font-family:arial,helvetica,sans
serif; font-size:8pt}
</style>
<title>
Tip:
In-page styles are employed to specify formatting used only
on that page—formatting not used anywhere else on the site.
6.
Add a new paragraph in the
.smalltext
class to the lower
right-hand cell:
<p class=”smalltext”><b>Tech Tool</b><br>
The Magazine for People Who Like Gadgets</p>