EN
CSS - make first letter of string uppercase
9 points
Using CSS it is possible to capitalize letters in the following way.
xxxxxxxxxx
1
2
<html lang="en">
3
<head>
4
<style>
5
6
p.capitalize::first-letter {
7
text-transform: capitalize;
8
}
9
10
</style>
11
</head>
12
<body>
13
<p class="capitalize">this text has been written with small letters only...</p>
14
</body>
15
</html>