'first-letter' Example : first letter « CSS « HTML / CSS






'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