Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .header { height: 40px; padding: 20px 20px 0; background: #e1e1e1; } .main-content { height: 60vh; padding: 20px; } footer { padding: 10px 20px; background: #666; color: white; } a { color: #00aaff; } </style> </head> <body> <div class="header">Header / Menu</div> <div class="main-content"> <h1>Main content</h1> <p>This is some paragraph. </p> </div> <footer> <p>Company © W3docs. All rights reserved.</p> </footer> </body> </html>