<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>text-transform:capitalize with punctuation</title> </head> <body> <div style="text-transform:capitalize"> "This" (is) /a/ _short_ *test* -for- —the— ¡capitalize! ¿transform? «with» [punctuation] “marks”. </div> </body> </html>