Tuesday, August 20, 2013

CSS text indentation

<html>
<head>
<style type="text/css">
p {text-indent:50px}
</style>
</head>
<body>

<p>The Sun is the star at the center of the Solar System. The Earth and other matter (including other planets, asteroids, meteoroids, comets, and dust) orbit the Sun, which by itself accounts for about 99.86% of the Solar System's mass.</p>

</body>
</html>

Result


No comments: