CSS - Comments

> (World Wide) Web - (W3|WWW) > CSS - Cascading Style Sheets - Markup Language (HTML|XML) Skin

Table of Contents

1 - About

Comments:

  • begin with the characters /*
  • end with the characters */.

They may occur anywhere between tokens, and their contents have no influence on the rendering. Comments may not be nested.

CSS also allows the SGML comment delimiters (<!– and –>) in certain places defined by the grammar, but they do not delimit CSS comments. They are permitted so that style rules appearing in an HTML source document (in the STYLE element) may be hidden from pre-HTML 3.2 user agents.

web/css/comment.txt · Last modified: 2019/02/09 11:44 by 141.101.77.126