gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
Give me some simple HTML CODES and CSS Codes
- User
Give me some simple HTML CODES and CSS Codes
- Assistant
Sure! Below you'll find some simple HTML and CSS code examples that you can use to create a basic web page.
HTML Code Example
Here's a simple HTML structure for a basic webpage with a header, a paragraph, and a button:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Simple Web Page</title> <link rel="stylesheet" href="styles.css"> <!-- Linking to external CSS --> </head> <body> <header> <h1>Welcome to My Simple Web Page!</h1> </header> <main> <p>This is a paragraph on my simple web page. Enjoy browsing!</p> <button>Click Me!</button> </main> <footer> <p>© 2023 My Simple Web Page</p> </footer> </body> </html>