Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS text indentation</title> <style> p { text-indent: 100px; } </style> </head> <body> <h1>Text-indentation Effect</h1> <p>The first line of this paragraph is indent by 100px. Play with the value of <code>text-indent</code> property to see how it works. Negative values are allowed.</p> </body> </html>