Lesson 5
Main Page/Previous Lesson/Next Lesson


Commenting and Email

When you offer your users a chance to give feedback, you can supply them with a link that opens their default mails system. This can be helpful if the person has a default mailing program on their computer, otherwise the computer will give them an error.

Email links or address on your site are useful for many reasons including:

  • Getting feedback about your site�s usefulness
  • Receiving requests for more information about your site

    To specify an email link use the mailto protocol in place of the typical http protocol.

    For example:
    < a href=http://www.geocities.com/liquidwinds/�mailto:[email protected]>Email Me< / a >

    The email anchor will look and acts like other type of hyper links, and will be in the default link colors.

    Commenting

    A comment is a note that you include inside your HTML code. The bowser completely ignores comments! Comments are not browser commands. They are notes for the programmer that explain the HTML code. Some uses for comments are:

  • Displaying a list of changes made to the page sine its original publication
  • Explaining sections of HTML code; when some code or image name seems cryptic, a well placed comment can explain what the programmer had in mind.
  • Executing JavaScript code that can activate your site and make your web page interactive.
  • Reminding you to add certain features that you may have omited fro early versions of your site.
  • Explaining why you used a certain tag when another, more recent tag may have been more acceptable
  • Commenting our a section of HTML code that you want to hide from the bowser, perhaps to test another area of HTML or eliminate a feature for a certain time.
  • Inserting a comment to inform your clients where certain data goes when the client is ready.

    If you have ever written in computer programs in a non-HTML programming language, you�ve seen comments before.

    Comments, like tags are enclosed by < !-- start and end tags.

    Example:

    < !-- comment goes here
    as long a comment as you want..
    it can be long or short.

    -- >

    NOTE:The space after the < -- is required

    Special chararacters are characters that the browser might not interpret as HTML code instead of displaying them.

    To put special characters into HTML, you can use the character code using the character code chart.


    Main Page/Previous Lesson/Next Lesson





















































    Hosted by www.Geocities.ws

    1