HTML dosyasındaki sorun nedir?

MyniwGuels

Femtopat
Katılım
12 Mayıs 2024
Mesajlar
17
Daha fazla  
Cinsiyet
Erkek
1718659445901.png


Kodum da bu:

Kod:
<html>
 <head>
<title>Myniw Guels</title>
<link rel="icon" href="mg.ico" type="imahe/x-icon" />
 </head>
 <body>
<h1 style="font-family: 'Tahoma">Home Page</h1>
<hr/>
<button>About Me!</button>
 </body>
</html>
 
Son düzenleyen: Moderatör:
cssi ayrı bir dosyada yaz inline css olarak yazma bence.
css normalde ayrı dosyada zaten

Buda kodu:
button{
width: 165px;
height: 62px;
cursor: pointer;
color: gold;
font-size: 17px;
border-radius: 1rem;
border: none;
position: relative;
background: #100720;
transition: 0.1s;
}
button::after{
content: '';
width: 100%;
height: 100%;
background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(2,245,255,1)100.2%);
filter: blur(15%);
z-index: -1;
position: absolute;
left: 0;
top: 0;

}
button:active{
transform: scale(0,9) rotate(3deg);
background: radial-gradient( circle farthest-corner at 10% 20%, rgba(255,94,247,1)17.8%, rgba(2,245,255,1)100.2%);
transition: 0.5s;
}

<H1 style="font-family: 'tahoma">home page</h1> bu kodda tahoma tarafında tek tırnağı silin.
teşekkürler
 
Eki Görüntüle 2225176

Kodum da bu:

Kod:
<html>
 <head>
<title>Myniw Guels</title>
<link rel="icon" href="mg.ico" type="imahe/x-icon" />
 </head>
 <body>
<h1 style="font-family: 'Tahoma">Home Page</h1>
<hr/>
<button>About Me!</button>
 </body>
</html>

<!DOCTYPE html>
<Html>
<Head>
<Title>Myniw Guels</title>
<Link rel="icon" href="mg. ICO" type="image/x-icon" />
</Head>
<Body>
<H1 style="font-family: 'Tahoma';">Home Page</h1>
<hr/>
<Button>About Me!</button>
</Body>
</Html>

Eki Görüntüle 2225176

Kodum da bu:

Kod:
<html>
 <head>
<title>Myniw Guels</title>
<link rel="icon" href="mg.ico" type="imahe/x-icon" />
 </head>
 <body>
<h1 style="font-family: 'Tahoma">Home Page</h1>
<hr/>
<button>About Me!</button>
 </body>
</html>

Hocam HTML'de hata yok gibi duruyor CSS'i kontrol etmen lazım.
 
<!DOCTYPE html>
<Html>
<Head>
<Title>Myniw Guels</title>
<Link rel="icon" href="mg. ICO" type="image/x-icon" />
</Head>
<Body>
<H1 style="font-family: 'Tahoma';">Home Page</h1>
<hr/>
<Button>About Me!</button>
</Body>
</Html>



Hocam HTML'de hata yok gibi duruyor CSS'i kontrol etmen lazım.
biri sorunumu çözdü sorun font family kısmında
 

Technopat Haberler

Yeni konular

Geri
Yukarı