Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: Beginner
Jun 15, 1998



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Highlight Comments in your ASP Pages

If you're using IIS 3.0 with Active Server Page technology for hosting your Web site, here is a very simple way to highlight comments in your ASP pages and reduce page download time.

Instead of using HTML or Script comments, place all your comments in Active Server Page tags. All your comments will now be processed as ASP code, which means they will be removed when the page is sent from the server to the browser. All your comments will now be highlighted in yellow in Visual Interdev, making them easier to locate. Also, since all your comments will be stripped out by the server, the HTML that is sent to the browser will be smaller and will download faster. And your descriptive comments cannot be seen by source code viewers, making it more difficult for someone to decipher your complex HTML or Script logic.

Warren Janisch
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date