HTML CSS Reference/CSS Attributes and Javascript Style Properties/first letter
"first-letter" Example
<source lang="html4strict">
<html> <head> <style> p:first-letter { font-size:150%; color:red; } </style> </head> <body>
This is a sample text.
</body> </html>
</source>
"first-letter" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+
| Applied_To |<address>| | |<body>| | | | | |
- | | |<fieldset> <form> | | |<hn> <legend> | | |
- <listing> | | |<marquee> <menu> | | |
| | |<xmp> | +----------------+--------------------------------------------------------------+ </source>"first-letter" Syntax and Note
<source lang="html4strict"> Note: Apply special styles to the first letter of text.
</source>