gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
عطني كود html
- User
عطني كود html
- Assistant
بالطبع! إليك نموذج بسيط لكود HTML. هذا الكود ينشئ صفحة ويب تحتوي على عنوان، ونص، وصورة، ورابط:
<!DOCTYPE html> <html lang="ar"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>صفحة ويب بسيطة</title> <style> body { font-family: Arial, sans-serif; margin: 20px; background-color: #f4f4f4; } h1 { color: #333; } p { color: #555; } </style> </head> <body> <h1>مرحبًا بكم في صفحتي!</h1> <p>هذه صفحة ويب بسيطة تستخدم HTML.</p> <h2>صورة</h2> <img src="https://via.placeholder.com/400" alt="صورة تجريبية"> <h2>رابط</h2> <p>يمكنك زيارة <a href="https://www.example.com">هذا الرابط</a> لمزيد من المعلومات.</p> </body> </html>يمكنك نسخ هذا الكود ولصقه في محرر نصوص (مثل Notepad) ثم حفظ الملف بامتداد
.html(مثلindex.html). بعد ذلك، يمكنك فتح الملف في متصفح الويب لرؤية الصفحة.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.