8 Kasım 2016 Salı

Web Hafta8 CSS4

CSS

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS</title>
<style type="text/css">
#paragraf1
{
color:#0F0;
font-size:24px;
text-decoration:underline;
}
#paragraf2
{
color:#0F0;
font-size: 36px
text-decoration:underline;
}
</style>
</head>
<body>
<p id="paragraf1">CSS ÖĞRENMEYE BAŞLAYALIM!</p>
<p id="paragraf2">CSS ÖĞRENMEYE BAŞLAYALIM!</p>
<p>CSS öğrenmeyi seviyorum</p>
</body>
</html>  ID seçiciler  yalnız bir ögeye atanır.(Örnek)




Hiç yorum yok:

Yorum Gönder