<!DOCTYPE HTML> <html> <head> <style> p:first-letter, div:first-line { text-transform:uppercase; } </style> </head> <body> <p>hello <div>hello<br>kitty</div> </body> </html>