CSS Text Properties
CSS - Text Properties
You may like to decorate your text further by giving it a more appropriate look and feel like underlining, capitalizing, indenting, etc.
For achieving all these you can use text properties of CSS.
Let us explore on text properties in CSS.
Let us see the usage of text-decoration property in the below example.
Let us see the usage of text-transform property in the below example.
Let us see the usage of text-align property in the below example.
Demo :
CODE/PROGRAM/EXAMPLE
<!doctype html>
<head>
<title>Home Page</title>
<meta charset="UTF-8">
</head>
<body>
<table border="1" align="center">
<tr>
<td width="800px" height="100px">
<h2>Global Bank</h2>
</td>
</tr>
</table>
<table border="1" align="center" bordercolor="#8598CC">
<tr>
<td width="600px">
<section>
<h3>Welcome to Global Bank Success Page !</h3><br/>
<p><em>Global Bank</em> is a international bank which has branches in various cities of
various country.</p>
<br /><br /><br/><br/>
</section>
<div align="center">Hello User!
<p>Your Account Creation Was Successful!<p>
<p> Thanks for opening an account with our bank. Please login to continue.<p><br />
</div>
<p align="center"><a href="home2.html">Login</a> </p>
</td>
</tr>
</table>
<table border="1" align="center">
<tr>
<td width="800px" height="30px">
<footer>
<h2>© Global Bank</h2>
</footer>
</td>
</tr>
</table>
</body>
</html>