Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS margin-left Property</title> <style> h1 { margin-left: 25px; } p { margin-left: 50px; } </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> <p><strong>Note:</strong> Play with the margin-left property value to see how it works.</p> </body> </html>