1<h1 style="color:blue;text-align:center">This is a header</h1>
2<p style="color:green">This is a paragraph.</p>
1 <h1 style="color:blue;">This is a Blue Heading</h1>
2<!DOCTYPE html>
3<html>
4<head>
5<style>
6
7 body {background-color: powderblue;}
8h1 {color: blue;}
9p {color: red;}
10
11</style>
12</head>
13<body>
14
15<h1>This is a
16 heading</h1>
17<p>This is a paragraph.</p>
18
19</body>
20</html>
1<html>
2<head>
3<style>
4 h1 {color:red;}
5 p {color:blue;}
6</style>
7</head>
8<body>
9
10<h1>A heading</h1>
11<p>A paragraph.</p>
12
13</body>
1<!-- style inside of an html element -->
2<p style="color: rgb(255, 0, 255);">I am a unicorn</p>
3<!-- style as an html element -->
4<style>
5 /* Put in CSS */
6</style>