Heading tags are similar to the paragraph tag since they are
used to divide text sections. Heading tags come in six sizes
from <h1> (biggest) to <h6> (smallest). Note that a blank line
is generated after the closing heading tag.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>
<body bgcolor="#bdbdbd" text="black">
<h2>Welcome to HTML!</h2>
<h3>Your passport to Internet creativity!</h3>
Normal text starts here....
</body>
</html>
|