Quick Reference: Creating HTML Documents


As you have already seen, creating a Web page is a relatively simple task. However, the more you learn of HTML and XHTML markup, the more difficult it will be to remember everything. The purpose of this section is to help you remember what you’ve learned and to provide a quick reference as you begin to develop your own Web pages.

To Do This

Use This

Create an HTML document

<html>
<head>
<title> </title>
</head>
<body>
</body>
</html>

Save an HTML document

.htm or .html

Name the home page for a Web site

index.htm or default.htm
(Most servers prefer index.htm
for your home page’s file name.)

Assign a title to a page

<title>Insert title here</title>

Add comments

<!-- Enclose comments here -->




How to Do Everything with HTML & XHTML
How to Do Everything with HTML & XHTML
ISBN: 0072231297
EAN: 2147483647
Year: 2003
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net