Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>The title of the document</title> <style> .container { height: 50vh; border: 2px solid #1c87c9; padding: 5px; } </style> </head> <body> <h2>Height property example</h2> <div class="container"> <p>Here the height is specified as "50vh".</p> </div> </body> </html>