Created
September 10, 2025 10:14
-
-
Save mysticBliss/a723844b051f51970be62da9d7276418 to your computer and use it in GitHub Desktop.
Simple HTML Example - Basic Structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Simple HTML Example</title> | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 40px; | |
| background-color: #f4f4f4; | |
| } | |
| .container { | |
| background-color: white; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 10px rgba(0,0,0,0.1); | |
| } | |
| h1 { | |
| color: #333; | |
| } | |
| p { | |
| color: #666; | |
| line-height: 1.6; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>Welcome to My Simple HTML Page</h1> | |
| <p>This is a basic HTML example with minimal styling. It demonstrates the fundamental structure of an HTML document.</p> | |
| <p>This page includes:</p> | |
| <ul> | |
| <li>Proper HTML5 DOCTYPE</li> | |
| <li>Meta tags for charset and viewport</li> | |
| <li>Basic CSS styling</li> | |
| <li>Semantic HTML structure</li> | |
| </ul> | |
| <p>Perfect for learning or as a starting template!</p> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment