Text Alignment and Decoration
text-align positions text. text-decoration adds underline, overline or line-through. text-transform changes case and text-indent indents the first line.
Example
<style>
.c { text-align: center } .u { text-decoration: underline wavy #f59e0b } .t { text-transform: uppercase } .i { text-indent: 24px }
</style>
<p class="c">Centered</p><p class="u">Wavy underline</p><p class="t">upper case</p><p class="i">Indented first line text.</p>Exercise
Capitalise every letter.
text-transform: ;
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.