May 2003
Intermediate to advanced
480 pages
10h 9m
English
More than likely, you are familiar with the concept of comments in HTML:
<!-- this is an HTML comment -->
Comments allow you to include explanations and reminders within your code. These are entirely ignored by the browser, and are normally included solely for the developer's convenience. If you've ever had to make changes to code that hasn't been touched in a few months, I'm sure you can appreciate the value of a few well-placed comments that remind you of how it all works.
CSS has its own syntax for comments. In HTML, a comment begins with <!-- and ends with -->. In CSS, a comment begins with /* and ends with */:
<style type="text/css"> /* This rule makes all text red by default. We include paragraphs and table cells ...
Read now
Unlock full access