<html>

<!--comment out-->

 

Often the author will have comments that begin with a tag <!-- and end with a --> tag. Anything in between <!-- and --> will not appear on a web page but is "invisible" when browsers display html. This is where web designers can write comments for curious professionals or for themselves. People speak of this as "commenting out" material.This "invisibility" also makes the <!-- comment area --> a place where designers can give java script instructions. That is beyond the scope of this class, however, so for now ignore anything in that area that refers to a "script".

 

 

Yale C/AIM Style Guide

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.

 

 

Graphix 6

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!

   
 

Continue to <meta> tags>>

Other comment notes for this unit:
view the head | meta tags | titles

   
Readings
Resources
<head>
<p> etc.
<b> etc.
<li> etc.
<a href>
<img src>
Access
<table>
<frame>
<style>
<form>
<script>
<object>
validate

Copyright by dwang, 1999. All rights reserved.

Valid HTML 4.0! 1