Thursday, May 22, 2014

HTML TUTORIAL PART 13

HTML TUTORIAL PART 13

PROBLEM:
LOOK AT THE FOLLOWING:

Hello World!

Smaller heading!

This is a paragraph.

SOLVED:
THE CODE BELOW MADE THE HTML TIP:

<!DOCTYPE html>
<html>
<head>
<style>
h1,h2,p
{
text-align:center;
color:red;
}
</style>
</head>

<body>
<h1>Hello World!</h1>
<h2>Smaller heading!</h2>
<p>This is a paragraph.</p>
</body>
</html>

No comments:

Post a Comment