gpt-4o-2024-08-06· OpenAI
WildChat-4.8M (AI2)
пример html страницы
- User
пример html страницы
- Assistant
Конечно! Вот пример простой HTML-страницы:
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Пример HTML страницы</title> <style> body { font-family: Arial, sans-serif; line-height: 1.6; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; } header { background-color: #4CAF50; width: 100%; padding: 10px 0; text-align: center; color: white; } main { max-width: 800px; margin: 20px; padding: 20px; border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } footer { background-color: #f1f1f1; width: 100%; text-align: center; padding: 10px 0; position: fixed; bottom: 0; } </style> </head> <body> <header> <h1>Моя Первая HTML Страница</h1> </header> <main> <h2>Добро пожаловать!</h2> <p>Это пример простой HTML страницы. Здесь вы можете увидеть основные элементы HTML и некоторые стили CSS.</p> <h3>Секции документа</h3> <ul> <li><strong>header</strong> - заголовок страницы</li> <li><strong>main</strong> - основное содержание</li> <li><strong>footer</strong> - нижняя часть страницы</li> </ul> </main> <footer> <p>© 2023 Пример HTML</p> </footer> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.