HTML body
The HTML body tag
tells your Internet Web browser that everything between these two tags
<body></body> is the meat and potatoes or content of the web page. The
HTML body will more than likely consist of paragraphs of text. To add a
paragraph within the web page body, place all text between the paragraph
tags <p></p> so the browser will properly format the paragraph.
<html>
<head>
<title> My HTML Web site</title>
</head>
<body>
<p>The text here should be the only thing
viewable in your browser.</p>
</body>
</html> |
If
you put the text below in a Windows Notepad file and save it as
MyHTML.htm you can create a simple web site. To view the HTML file in
your browser open your Internet browser. From the “file” menu go to
“open” then “browse” to MyHTML.htm and click “open”. Depending on your
directory structure you should see “C:\MyDocuments\myhtml.htm” in the
browser address field. Double click the myhtml.htm file and it should
open in a browser window You can use an
HTML background color or image to aesthetically contrast with your
HTML body.
|