h1 { font-size: 20px; font-family: "Arial Black"; padding-top: 10px; padding-left: 10px; } /* Selecting a class */ .right { text-align: right; }
<html>
<head>
<title>New Web Project</title>
</head>
<body>
<h1>New Web Project Page</h1>
<h2>New Project Subtitle</h2>
<p class='right'>
Some content that goes
along with this new web
project. this will be
right aligned.
</p>
</body>
</html>
h1 { font-size: 20px; font-family: "Arial Black"; padding-top: 10px; padding-left: 10px; } .right { text-align: right; }
Give it a try
Handouts
Links