Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .margin-top { margin-top: 10%; background-color: lightblue; } </style> </head> <body> <h2>Margin-top property example</h2> <p>No specified margin.</p> <p class="margin-top"> 10% margin is specified top for this text.</p> </body> </html>