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






'first-line' Example

    
<html>
<head>
<style>
p:first-line { font-size:200%; color:red; }
</style>
</head>
<body>
<p>This is the first line of a sample text.
<br>
This is the second line.
</p>
</body>
</html>

    
      
      








Related examples in the same category

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