1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<!DOCTYPE html> <html> <head> <style> .f:first-letter { float: left; } .f { page-break-inside: avoid; float: left; } </style> </head> <body onload="document.getElementById('p').className = '';"> <p id="p" class="f">text</p> </body> </html>