Page 183 - CA_165_V2.0_Flipbook
P. 183
<P STYLE="FONT-WEIGHT: BOLD;">This is bold text. </P>
<P STYLE="FONT-WEIGHT: 300;">This is light text. </P>
</BODY>
</HTML>
ALIGNING TEXT
The 'text-align' property is used to align the text in desired position. Left, Right, Center, Justify are the
types of available text alignment. Syntax to use the 'text-align' property is as follows:
<P STYLE = "text-align: value;">
TEXT
</P>
<HTML>
<HEAD>
</HEAD>
<BODY>
<P STYLE = "TEXT-ALIGN:RIGHT;">
THIS TEXT IS ALIGNED RIGHT.
</P>
<P STYLE="TEXT-ALIGN: CENTER;">
THIS TEXT IS ALIGNED IN CENTER.
</P>
<P STYLE="TEXT-ALIGN:LEFT;">
THIS TEXT IS ALIGNED LEFT.
</P>
<P STYLE="TEXT-ALIGN: JUSTIFY;">
Electronics and Information Technology is one of the fastest growing
segments of the Indian Industry. Along with the liberalisation in
foreign investment and export-import policies, this sector is attracting
considerable interest. This section gives detailed information about the
Communication and Information Technology in the country which is handled
by the Ministry of Electronics & Information Technology. Information
related to the post, telecommunication and information and technology is
Cascading Style Sheets 181

