509401
Hectopat
- Katılım
- 21 Aralık 2021
- Mesajlar
- 6.248
- Çözümler
- 36
JavaScript:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device width, initial-scale=1.0">
<title>Karan!</title>
<style>
a{
background-color: rgb(17, 226, 44);
display: inline-block;
padding: 16px 8px;
text-decoration: none;font-family: Arial;
font-size: 20px;
color: cyan;
}
p{
background-color: rgb(255, 0, 0);
border: 3px solid #000;
display: inline-block;
padding: 10px 40px;
text-decoration: none;
font-family: Arial;
font-size: 100px;
color: #000;
}
b{
background-color: aliceblue;
border: 6px solid #000;
display: inline-block;
padding: 13px 60px;
text-decoration: none;
font-family: Arial;
font-size: 50px;
color: blueviolet;
}
</style>
</head>
<body>
<center>
<a href="#" onclick="document.getElementById('value1').innerHTML = Date()">Tarihi öğrenmek için butona bas</a>
<b href="#" onclick="" >Deneme test buton</b>
<br>
<p id="value1"> Tarihin gösterileceği alan </p>
</center>
</body>
</html>
Merhabalar. B butonunun yerini değiştirmek istiyorum bunun için hangi kodu kullanmam gerekiyor?