Step 04: Add Header And Footer Comments
As you may be aware, it's very easy for anyone on the web to examine (and take a copy of) the HTML source to your page. All they have to do is use the "Save As..." feature of their browser.
To ensure that any HTML code that you've created that somehow starts circulating around the net can be traced back to you, it's a good idea to put an HTML comment at the top of each HTML source file you create. The comment should contain at least a copyright message and the URL of the web from which the file came.
Comments are delimited by <!--
and -->. Here's the comment that will be used
at the top of each page in the Tarmac Travel web.
<HTML>
<!--------------------------------------------------------->
<!-- This is a page in the "Tarmac Travel" Example Web -->
<!-- which is used as an example of web design and -->
<!-- creation in the WebHints Tutorial at: -->
<!-- http://www.ross.net/webhints/tutorial/ -->
<!-- Tarmac Travel is an fictional organization that was -->
<!-- imagined solely for the purposes of the example. -->
<!-- Copyright (C) Ross N. Williams 1997. -->
<!-- http://www.ross.net/ ross@ross.net -->
<!--------------------------------------------------------->
<HEAD>
<TITLE>Welcome To Tarmac Travel</TITLE>
</HEAD>
To visually bookend the HTML source code, we'll include
a footer comment as well:
</BODY>
<!--------------------------------------------------------->
<!-- End of a Tarmac Travel Web Page -->
<!--------------------------------------------------------->
</HTML>
That's all for this step. You will see no change in the way the splash page looks because comments are not displayed.
|