Can I include comments in my Style Sheet?


Yes. Comments can be written anywhere where whitespace is allowed and are treated as white space themselves. Anything written between /* and */ is treated as a comment (white space). NOTE: Comments cannot be nested.

/* This is a CSS-comment */



Explore posts in the same categories: CSS Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • What is a Style Sheet?
  • Style sheets are the way that standards-compliant Web designers define the layout, look-and-feel, and design of their pages. They are...
  • What is external Style Sheet? How to link?
  • External Style Sheet is a template/document/file containing style information which can be linked with any number of HTML documents. This...
  • What is CSS
  • Cascading style sheet. A stylesheet used with HTML and XML documents to add a style to all elements marked with...
  • How do I design for backward compatibility using Style Sheets?
  • Existing HTML style methods (such as and ) may be easily combined with style sheet specification methods. Browsers that...
  • What’s the difference between // comments, /* */ comments and /// comments ?
  • Single-line, multi-line and XML documentation comments....
  • Short C# Interview Questions.
  • 1.    What’s the .NET datatype that allows the retrieval of data by a unique key? Ans.  HashTable. 2.    What’s class SortedList underneath? Ans. ...
  • What are Cascading Style Sheets?
  • A Cascading Style Sheet (CSS) is a list of statements (also known as rules) that can assign various rendering properties...
  • Is CSS case sensitive?
  • Cascading Style Sheets (CSS) is not case sensitve. However, font families, URLs to images, and other direct references with the...
  • How to comment javascript code?
  • Use // for line comments and /* */ for block comments...
  • What are System Variable?
  • System variables have been predefined by SAP. We can use these variables in formulas or, for example, to pass on...

    Comment:

    You must be logged in to post a comment.