Tuesday 30 July 2013

Example of HTML PHP Comment

Type the following code in your text editor..

<HTML>
<HEAD>
<TITLE>Example of Comments</TITLE>
</HEAD>
<BODY>
<!-- html comment style -->

<?
// This is a single line PHP comment style.

# Shell type comment style.
/* This is a C style comment, we can use it for multiple lines 

this is suitable for multiple line comment */
?>

</BODY>
</HTML>


Now save this file as comment.php

No comments:

Post a Comment