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: 20px; padding: 0; } header { background: #f8f8f8; padding: 10px 0; text-align: center; } nav { margin: 10px 0; text-align: center; } nav a { margin: 0 15px; text-decoration: none; color: #333; } nav a:hover { text-decoration: underline; } main { max-width: 800px; margin: 0 auto; } footer { background: #f8f8f8; text-align: center; padding: 10px 0; position: fixed; width: 100%; bottom: 0; } </style> </head> <body> <header> <h1>Добро пожаловать на мой сайт</h1> </header> <nav> <a href="#home">Главная</a> <a href="#about">О нас</a> <a href="#contact">Контакты</a> </nav> <main> <section id="home"> <h2>Главная Страница</h2> <p>Это пример простой HTML страницы. Здесь вы можете разместить любое содержание, которое хотите.</p> </section> <section id="about"> <h2>О нас</h2> <p>Мы — команда профессионалов, предоставляющая качественные услуги для наших клиентов.</p> </section> <section id="contact"> <h2>Контакты</h2> <p>Пишите нам на <a href="mailto:example@example.com">example@example.com</a></p> </section> </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.