J.2. Editing XHTML

In this appendix, we write XHTML in its source-code form. We create XHTML documents by typing them in with a text editor (e.g., Notepad, Wordpad, vi or emacs), saving the documents with either an .html or .htm file-name extension.


Good Programming Practice J.1

Assign documents file names that describe their functionality. This practice can help you identify documents faster. It also helps people who want to link to a page, by giving them an easy-to-remember name. For example, if you are writing an XHTML document that contains product information, you might want to call it products.html.

Machines running specialized software called a Web server store XHTML documents. Clients (e.g., Web browsers) request specific resources, such as XHTML documents, from the Web server. For example, typing www.deitel.com/books/downloads.htm into a Web browser's address field requests downloads.htm from the Web server running at www.deitel.com. This document is located in a directory named books.

Категории