A CSS comment starts with /* and ends with */ : comments « Style Basics « HTML / CSS






A CSS comment starts with /* and ends with */

 

<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
   <head>
      <title></title>
      <style type="text/css">
* .graphic-dropcap span { /*position:absolute; */
  width: 120px;
  height: 90px;
  margin: 0;
  left: 0;
  top: 0;
}
</style>
   </head>

   <body>

<h1>Marginal Graphic Dropcap</h1> 

<p class="indent"><span class="graphic-dropcap" >M<span>Inner span</span></span>
</p> 
   </body>
</html>

 








Related examples in the same category

1.Use comment in HTML