Create an XHTML Web Pagefor those who already know HTML |
|||
|
|
|
|
1. Create a Page Template
|
The first step in any new coding adventure is to build a template file as the basis for your future work. Some of the code editors will create a template for you automatically, but if you have your own, you won't be dependent on any one editor. To keep things simple, this time start Notepad or some other non-code-specific editor. Copy these lines into your file:
When you're done with these, put in the normal HTML tags to open and close the head, body, and html sections. Add a title line, and a meta tag for the author that includes
your name. The author meta tag looks like this: Save the file as xhtml.htm. Validate the template using W3C's validator, http://validator.w3.org/. |
|
2. Create a Class Home Page
|
Using your XHTML template page, create an XHTML class home page that tastefully includes these elements:
Save the page as home.htm (Do not name it index or default!) |
|
3. Validate the Page
|
Validate the page using W3C's validator, http://validator.w3.org/. Make any corrections that are necessary, and re-validate until the validator approves of your page. Print the page for submission. |
|
4. Put the Page on the Server
|
Use FTP to create a directory for this class on your Web space on the college server. Put your template file and your home page in the class directory. |
|
5. Submit the Assignment
|
Print the following:
Staple these and submit to your Instructor. |
| |
|
|---|---|
|
Audience
|
This module is for people who know HTML and have learned about XHTML, and want to build an XHTML Web page.
|
| Objectives |
On successful completion of this module, you will be able to:
|
| Module X10h: Create an XHTML Web Page | |
| History: |
Original: 20 January 2003
Last modification: Monday, 31-Aug-2009 11:48:07 EDT |
| Copyright |
Copyright © 2003, Laurence
J. Krieg, Washtenaw Community College
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |