Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du 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">Titre / Menu</div> <div class="main-content"> <h1>Contenu principal</h1> <p>C'est un paragraphe. </p> </div> <footer> <p>Company © W3docs. All rights reserved.</p> </footer> </body> </html>