We would like to know how to text-indent:3em;.
<html>
<head>
<style>
.indent {text-indent:3em;}<!--from w w w. j ava 2s . co m-->
</style>
</head>
<body>
<h1>text-indent</h1>
<p>This paragraph should be aligned
with the left-hand side of the browser window. </p>
<p class="indent">Just the first line of this
paragraph should be indented by 3 em,
this should not apply to any subsequent
lines in the same paragraph.</p>
</body>
</html>
The code above is rendered as follows: