How To Do Everything With Html Xhtml [Electronic resources]

James H. Pence

نسخه متنی -صفحه : 126/ 15
نمايش فراداده

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

<l>

<head>

<title> </title>

</head>

<body>

</body>

<l>

Save an HTML document

or l

Name the home page for a Web site

index or default

(Most servers prefer index

for your home page’s file name.)

Assign a title to a page

<title>Insert title here</title>

Add comments

<!-- Enclose comments here -->