|
|||
Of course, the web page for the Yale Style Guide for Web Design is going to be a model. "View>Page Source" at this site and see how the authors have used the <!--comment area--> inside the <head>. See how information about the authors and copyright is contained within the <!-- comment --> tags. Dave Raggett explains on page 238 of Ragget on HTML 4 that some of this material can also be included in <meta> tags, but there is no standard for <meta> names. Moreover, the information is actually more readable as it is displayed in the <!--comment area-->. See also how the authors have used the <!--comment area--> combined with = = = and text. They use these tags to describe areas of code and what the codes are doing. If you get into the habit of writing such comments, it will be easier to go back and edit or revise your page or find the place where you used a code you really liked. |
|
||
Some authors also do very creative work inside these <!-- comment tags--> for a very private audience. See what Graphix 6 does inside the comment tag on the linked page. At first glance this looks like just some peculiar java script, with its references to syntax and the like. Some of the comments do refer to script, and "border=0" is common enough html language. But as you will learn in a few weeks, there is no html tag <imagine>, nor one for </ego>. So what is this artist doing? He is demonstrating you can write poetry in html for those who know to look and read! |
|||
Other comment notes for this unit: |
Copyright by dwang, 1999. All rights reserved.