Arrangement of Tag and Attribute
Every tag and attribute is should be appropriate spelling and through some guidelines. It is needed to separate every tag in the separate line. This will help us to correcting a large program.
Comment within the Program
Comment is written within the program for find out of the appropriate part of a large program, when it will be needed to correction. The comment will not show on the browser and it could not hamper the program.
Code for write a comment within a program:
<!--Comment -->
Example:
Program
<html>
<head>
<title> Program 1.1 </title>
</head>
<body>
<!--This program is created by author -->
This is my first HTML Program
</body>
</html>
Result

No comments:
Post a Comment