Beginning HTML - Home
Introduction - What is HTML, What it can do, what you'll need, etc. The Basics - First steps in HTML. Moving On - Further concepts. Advanced - More advanced ways to use HTML. Glossary - Explanation of terms used in this site HTML Tag and attribute reference - look up the most popular tags and their common attributes for reference
Square The Basics
square What are tags?
Square Making a first page
Square Basic formatting
Square Fonts-color and size
Square Styling your text
Square Writing 'good' HTML
Square Adding comments
  When you're starting to learn HTML, and even when you have learned it, it's often a good idea to use comments in your pages to help you. Comments consist of information inserted into the HTML document, but doesn't appear when the page is viewed. A comment can be as short or as long as you want. For example, you might want to remind yourself what part of the page is for, perhaps where the 'navigation' section begins and ends.
To begin a comment, you need to use the code <!--.After this you can then put whatever 'comment' or reminder you'd like, followed by the code -->. This can be on one or more lines, placed wherever you'd like in the document. E.g. -

<html>
<head>
<title>An example</title>
</head>
<body>
<!--the page content starts here -->
The text of the page goes here.
</body>
</html>


Feel free to use comments in your pages as much as you'd like. Often they can help to remind you why you wrote the page in a certain way.

OK, we're all finished for Section Two! Time to move on!

TopTop of page - BackBack to writing 'good' HTML - Next - Moving OnNext

Introduction - The Basics - Moving On - Advanced - Glossary - Reference