Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>The title of the document</title> <style> .block { display: block; border: 1px solid #666; background-color: #eee; padding: 10px; width: 200px; } .hello { border: 1px solid #1c87c9; background-color: #8ebf42; padding: 10px; } </style> </head> <body> <h2>Display property example</h2> <div class="block"> Lorem Ipsum is dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s when an unknown printer took a galley of type and scrambled it to make a type specimen book. <div class="hello">HELLO!</div> It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. </div> </body> </html>