Affiliate link
HTML - Text Format
CSS styles to control the text apperance.
Text Font Family
The font family for the text.
<h1 style="font-family:Arial">This is arial font</h1>
<h1 style="font-family:helvetica">This is helvetica font</h1>
<h1 style="font-family:monospace">This is monospace font</h1>
<h1 style="font-family:sans-serif">This is sans-serif font</h1>
<h1 style="font-family:serif">This is serif font</h1>
Code result
This is arial font
This is helvetica font
This is monospace font
This is sans-serif font
This is serif font
Text Color
The color of the text.
<p style="color: red">Red text</p>
<p style="color: blue">Blue text</p>Red text
Blue text
Text Size
The size of the text. It can be in px(Pixel), em(Element), rem(Root element) or pt(Point)
<p style="font-size:16px;">Text</p>
<p style="font-size:30px;">Large Text</p>
<p style="font-size:50px;">Larger Text</p>Text
Large Text
Larger Text
Affiliate link
Text Alignment
The alignment of the text. You can align the text to left, center, or right.
<p style="text-align:left">Text align left</p>
<p style="text-align:center">Text align center</p>
<p style="text-align:right">Text align right</p>Horizontal text alignment
Text align left
Text align center
Text align right
Affiliate link
Affiliate link




