|
After
you have finished writing all the content of your
website, it’s the time to make it look it better.
Manipulating and formatting the text in the right
way will be like an eye-candy for your website’s
visitors.
●
Text Formatting:
▪
Bold: you can make text bold by adding
these tags <b></b>
<b>Sample
Text</b>
▪
Underlined: you can make text underlined by
adding these tags <u></u>:
<u>Sample
Text</u>
▪
Italics: you can make text italics by
adding these tags <i></i>:
<i>Sample
Text</i>
●
Text Alignment:
▪
To justify the text into the left, right or center
you should use the “align” attribute inside the
<p> tag, using
right/left/center.
<p
align=”right”>Text 1000</p>
▪
Another method for centering a text is using
<center> tag:
<center>
Text 790 </center>
▪
If the text contains quotes, there is a suitable
tag that indent the text from the left and right
to make it look different than the rest of the
text. This tag is <blockquote>:
<blockquote>”To
be or not to be. This is the
question.”</blockquote>
●
Text size:
To
change the size of the text, we will need to use
<font> tag inside the paragraph <p>
tag, with the size attribute value.
<p><font size="4">Welcome
to my website</font></p>
Welcome to my
website
This will
change the font size of the color 4 sizes
up.
●
Text Color:
To
change the size of the text, we will need to use
<font> tag inside the paragraph <p>
tag, with the color attribute value.
<p><font
color=red">Welcome to my
website</font></p>
Welcome to my
website
This will change the font color
(usually from black) to red.
▪Color value can be text, hexadecimal
or RGB.
|