a)
<HTML>
<title>
a
</title>
<BODY>
<H1 style="color:green"> MOI </H1>
<H2 style="color:red"> moi </H2>
<p style="font:Times new roman"> Moi </p>
</BODY>
</HTML>
b)
<HTML>
<HEAD>
<title>
b
</title>
<STYLE type="text/css">
H1 {color:green}
H2 {color:red}
P {font:Times new roman}
</STYLE>
</HEAD>
<H1 style="color:green">
MOI
</H1>
<H2 style="color:red">
moi
</H2>
<P style="font:Times new roman">
Moi
</P>
</HTML>
c)
<HTML>
<HEAD>
<title>
c
</title>
<HEAD>
<LINK rel="stylesheet" type="text/css" href="Teht22.css">
</HEAD>
<h1>
MOI
</h1>
<h2>
moi
</h2>
<h3>
MOI
</h3>
<p>
Moi
</p>
</HTML>
CSS:
<style type="text/css">
p {style="font-family:sans-serif;"}
p {style="font-family:arial black;"}
h2 {color: #00CC00;}
h3 {color: #FF0000;}
h1 {color: #00CC00;}
</style>