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; margin: 0; padding: 0; line-height: 1.6; } header { background-color: #4CAF50; color: white; padding: 10px 0; text-align: center; } nav { background-color: #333; overflow: hidden; } nav a { float: left; display: block; color: white; text-align: center; padding: 14px 16px; text-decoration: none; } nav a:hover { background-color: #ddd; color: black; } main { padding: 20px; } footer { background-color: #333; color: white; text-align: center; padding: 10px 0; position: absolute; bottom: 0; width: 100%; } </style> </head> <body> <header> <h1>Добро пожаловать на мой сайт</h1> </header> <nav> <a href="#home">Главная</a> <a href="#about">О нас</a> <a href="#services">Услуги</a> <a href="#contact">Контакты</a> </nav> <main> <h2>Главный раздел</h2> <p>Это пример простой HTML-страницы. Здесь вы можете добавить любой контент, который вам нужен. Например, текст, изображения и другие элементы.</p> </main> <footer> <p>© 2023 Мой сайт. Все права защищены.</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.