|
|
|
Topic |
I want to add comments in my CSS (style sheet), how?
|
|
Topic |
Property: /* */
CSS Commenting is very simple as any other language.
Your comments should be in between /* and */.
Here is an example of how to have comments
<style>
/*This is how to add the comment in css style sheet*/
.colc{ font-family: san-serif; color: #9EFF36; }
/* This is the header row style */
.colc{ font-weight:bold; color: #9EFF36; }
</style>
|
|
A Note |
CSS - Cascading Style Sheets can be used along with html tags as explained in this site.
This simple CSS will help you to create much elegant and neat html web pages.
This does not need any additional softwares or codings.
All web browser are capable of handing CSS codes.
Note 2: If required you can using <span> instead of <div> tags.
div tag will start and end on new lines. span will not exceed the tag area.
|
|
|
|
|
|