Tuesday 24 December 2013

CSS comments are just like the comments we use in programming language.In programming languages, we use comment line for documentation purpose or instead of  deleting some lines.

Sample code to illustrate comment lines:
<html>
<head>
<title>Sample</title>
<body>
<table border = "  1 "  >
<tr>
<th>Date</th>/* It represents heading*/
<th>Day</th>
</tr>
<tr>
<td>1/1/2014</td>/*First cell of the table*/
<td>Wednesday</td>/*Second cell of the table*/
</tr>
<tr>
<td>2/1/2014</td>
<td>Thursday</td>
</tr>
<tr>
<td>3/1/2014</td>
<td>Friday</td>
</tr>
<tr>
<td>4/1/2014</td>
<td>Saturday</td>
</tr>
<tr>
<td>5/1/2014</td>
<td>Sunday</td>
</tr>
</tr>
</table>
</body>
</html>

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Technology Unleashed - Powered by Blogger - Designed by Dhilipkumar -