'first-letter' Example : first letter « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'first-letter' Example

    
<html>
<head>
<style>
p:first-letter { font-size:150%; color:red; }
</style>
</head>
<body>
<p>This is a sample text.</p>
</body>
</html>

    
      
      








Related examples in the same category

1.'first-letter' Syntax and Note
2.'first-letter' is applied to