>>
Get a free iPad! Learn how. It's easy!
 > CSS > Web Design > HTML > >
Web Hosting Tutorial -- Use Twitter? Follow Dave.

HTML Code MiniChapter 6: Clean Code, Comments, and Escape Codes

HTML Tutorial Chapters:  
HTML An Interactive Tutorial
> > Today's Hot Topics < < 

advertisements


Clean HTML Code...

< back to the previous chapter

Clean code means that your HTML coding follows all specifications, I personally don't use true clean code, but very close to it. Here are a few ways to keep your code clean:

The HTML Comment Tag...

If you are writing an HTML document, sometimes you may want to put little reminders to yourself with your code so that you will be able to interpret your coding better. A comment will not appear in a web browser when the page is displayed... it is only visible when the source code is viewed. You start commented text with <!-- and end it with -->.

HTML Code - Try it Yourself!

In the Box below, type the following HTML code, then click "Check it Out!" The HTML document you made will be displayed in your browser. You may wish to change the words within the tags just to try it out.

Try typing this:



<html>
<head><title>TITLE HERE</title></head>
<body>
<!-- No one will see this really long comment I have typed right here unless they decide to view the source. -->
This page Copyright &copy; davesite.com.

</body>
</html>


Learn about Great Hosting
Continue Next Chapter

Click here for details on my favorite Internet Marketing course.

[ Go To MiniChapter 5! | HTML Index | Go to MiniChapter 7! ]

Copyright © Dave Kristula. All rights reserved.
URL: http://www.davesite.com/webstation/html/chap06.shtml