Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.
Buyrun. CSS kısmını style içerisinde bulabilirsiniz.Merhaba. HTML ve CSS ile siteye WhatsApp iletişim butonu eklemek için gerekli kodları atar mısınız?
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WhatsApp İletişim Butonu</title>
<style>
.whatsapp-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
border-radius: 50px;
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
text-decoration: none;
display: flex;
align-items: center;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.whatsapp-button img {
width: 24px;
height: 24px;
margin-right: 10px;
}
</style>
</head>
<body>
<a class="whatsapp-button" href="https://wa.me/900000000000" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg" alt="WhatsApp"> WhatsApp
</a>
</body>
</html>
Buyrun. CSS kısmını style içerisinde bulabilirsiniz.Merhaba. HTML ve CSS ile siteye WhatsApp iletişim butonu eklemek için gerekli kodları atar mısınız?
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WhatsApp İletişim Butonu</title>
<style>
.whatsapp-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #25D366;
color: white;
border-radius: 50px;
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
text-decoration: none;
display: flex;
align-items: center;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
.whatsapp-button img {
width: 24px;
height: 24px;
margin-right: 10px;
}
</style>
</head>
<body>
<a class="whatsapp-button" href="https://wa.me/900000000000" target="_blank">
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg" alt="WhatsApp"> WhatsApp
</a>
</body>
</html>
Buyurun. CSS kısmını style içerisinde bulabilirsiniz.
HTML:<!DOCTYPE html> <html lang="tr"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>WhatsApp İletişim Butonu</title> <style> .whatsapp-button { position: fixed; bottom: 20px; right: 20px; background-color: #25D366; color: white; border-radius: 50px; padding: 10px 20px; font-size: 18px; font-weight: bold; text-decoration: none; display: flex; align-items: center; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); } .whatsapp-button img { width: 24px; height: 24px; margin-right: 10px; } </style> </head> <body> <a class="whatsapp-button" href="https://wa.me/900000000000" target="_blank"> <img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg" alt="WhatsApp"> WhatsApp </a> </body> </html>
Stil düzenlemeleri istediğiniz şekilde değiştirebilirsiniz. Ayrıca "body" içerisindeki a tag'inin linkine kendi telefon numaranızı girmeniz gerekiyor. 905.... Şeklinde devam etmeli.