Module: M4-R5: Internet of Things (IoT)
Chapter: Ch1 Computer Intro
W3.CSS provides various text utility classes to style your content easily.
Use w3-text-color classes to change text color.
<div class="w3-text-red">Red text</div>
<div class="w3-text-green">Green text</div>
<div class="w3-text-blue">Blue text</div>
Use w3-left, w3-center, w3-right for alignment.
<div class="w3-left">Left aligned</div>
<div class="w3-center">Center aligned</div>
<div class="w3-right">Right aligned</div>
Use w3-bold, w3-italic, w3-underline, w3-hover-underline.
<div class="w3-bold">Bold text</div>
<div class="w3-italic">Italic text</div>
<div class="w3-underline">Underline text</div>
<div class="w3-hover-underline">Hover underline text</div>
Use w3-opacity and w3-opacity-off for faded or normal text.
<div class="w3-opacity">Faded text</div>
<div class="w3-opacity-off">Normal text</div>