CSS
Cascading Style Sheet
This property indents the text in the first line of a block-level element. Values can be defined as length values (cm, px and pt) or as a percentage of the width of the block element. The default value is 0, which indicates no indentation.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> h1
{
font-family: arial;
}
p
{
text-indent: 50px;
}
</style> </head>
<body>
</br> <h1>www.skillpundit.com</h1> </br> <p>To acquire knowledge, one must study; but to acquire wisdom, one must observe.</p> </body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> h1
{
font-family: arial;
}
p
{
text-indent: 50px;
}
</style> </head>
<body>
</br> <h1>www.skillpundit.com</h1> </br> <p>To acquire knowledge, one must study; but to acquire wisdom, one must observe.</p> </body> </html>
Output