برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام<!DOCTYPE html> <html lang="fa" dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه نئونی</title> </head> <style> a{ color: rgb(39, 118, 221); border: 2px solid rgb(39, 118, 221); border-radius: 10px; text-decoration: none; font-weight: bold; padding: 5px 30px 5px 30px; text-align: center; box-shadow: 0 0 5px rgb(39, 118, 221); text-shadow: 0 0 4px rgb(39, 118, 221); } a:hover{ background-color: rgb(39, 118, 221); color: white; transition: 0.5s; } </style> <body> <a href="#">متن شما</a> </body> </html>
<!DOCTYPE html>
<html>
<head>
<style>
a {
color: rgb(0, 140, 255);
border: 2px solid rgb(0, 140, 255);
padding: 5px;
text-decoration: none;
box-shadow:0 0 5px rgb(0, 140, 255);
text-shadow: 0 0 2px rgb(0, 140, 255);
border-radius: 5px;
font-weight: bold;
font-size: 20px;
}
a:hover {
color:white;
background-color:rgb(0, 140, 255);
}
</style>
</head>
<body>
<a href="#">Go To Home</a>
</body>
</html>
CSS___________________ div { display: inline-block; padding: 1px 40px; border: 2px solid blue; color: blue; border-radius: 5px; user-select: none; transition:all .5s; } div:hover { background-color: blue; color: white; } HTML__________________ <div> ثبت نام </div>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه نئونی</title> <link rel="stylesheet" href="styles.css"> </head> <body> <button class="neon-button">تماس با ما</button> </body> </html>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه تغییر شکل</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .button { padding: 15px 30px; font-size: 16px; color: white; background-color: #007BFF; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } .button:hover { background-color: #0056b3; transform: scale(1.1); border-radius: 20px; /* تغییر شکل به دایرهای */ } </style> </head> <body> <button class="button">دکمه</button> </body> </html>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> .container{ margin-top: 300px; } .btn{ background-color: white; color: #039be5; padding: 10px 60px 10px 60px; border-color: #039be5; border-radius: 9px; font-size: 20px; font-family: Arial, Helvetica, sans-serif; } .btn:hover{ background-color: #039be5; color: white; } </style> <title>neon button</title> </head> <body> <center> <div class="container"> <button class="btn">ثبت نام</button> </div> </center> </body> </html>
<button style="color:blue;">ثبت نام</button> <style> button::hover{ background_color:blue; color:#fff }
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه تغییر شکل</title> <style> .button { padding: 15px 30px; background-color: #007BFF; color: white; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; font-size: 16px; } .button:hover { border-radius: 50%; background-color: #0056b3; padding: 15px; } </style> </head> <body> <button class="button">دکمه</button> </body> </html>
با HTML جدولی بسازید که که اطلاعات زیر را نمایش دهد ستون های جدول: نام، نمره، وضعیت حسن حسنی 17.25 قبولهوشنگ محمدی 20 قبولرضا حسنی 13 قبولمحمد رضایی 9 مردودمهسا مردانی 19 قبولمیلاد محمدی 12 قبولتین...
برنامه ای بنویسید که طول ضلع مربعی را از ورودی دریافت کند و مساحت آن را حساب کند مساحت مربع = یک ضلع ضربدر خودش = یک ضلع یه توان 2
برنامه ای بنویسید که لیست محصولات فروشگاه شامل اسم و قیمت محصولات را دریافت کند و تا وقتی که مقدار خالی برای اسم محصول وارد نشده، این کار ادامه پیدا کند؛ سپس اسم محصولات به صورت لیست نمایش داده شود...
تابعی بنویسید که کدپستی کاربر را به عنوان پارامتر دریافت کند و بررسی کند که کدپستی صحیح است یا خیر؟کدپستی باید 15 رقم باشدکدپستی فقط شامل اعداد است
برنامه ای بنویسید که یک متن و یک کلمه از کاربر دریافت کند، کلمه را در متن جستجو کند و همانند مثال زیر قبل و بعد کلمه * گذاشته و متن را در خروجی چاپ کند. مثال :input1: Hello. my name is Hooshang. i ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام
اگه متوجه تمرین نمیشی یا به هر دلیلی نمیتونی حلش کنی، کاملا طبیعیه، اشکالی نداره؛ ناراحت نشو
😊
سعی کن تمرینات آسون تر رو ببینی و جواب های مختلفی که دیگران ارسال کرده اند رو بررسی کنی و
یواش یواش به سراغ تمرینات سخت تر بری.
همچنین ممکنه جوابت درست باشه ولی با سایر جواب ها متفاوت باشه
اگه برنامه نویسی رو هنوز شروع نکردی یا خوب یاد نگرفتی، میتونی از طریق لینک زیر یاد بگیری