Make upside down exclamation in utf8 - HTML CSS CSS Property

HTML CSS examples for CSS Property:content

Description

Make upside down exclamation in utf8

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style>
.day:before {<!--   w ww  . j a  va2s  .c  om-->
   content:"\a2 ";
   display:block;
   float:left;
   margin-right:3%;
}

.day:after {
   content:"!";
   padding-left:3%;
}
</style> 
 </head> 
 <body> 
  <p class="day">test</p>  
 </body>
</html>

Related Tutorials