SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
HTML ve CSS
Mustafa Kırımlı
HTML (HyperText Markup Language)
HTML, sayfanın yapısı ve içeriği hakkında
bilgiler barındıran, etiket (tag) ve öznitelik
(attribute) içeren, metin bazlı, basit bir dildir.
Her sayfanın ham (raw) hali ve oluşturulmuş
(genrated source, dom) hali olmak üzere iki
HTML kodu bulunur.
Başlıca HTML Elementleri
●
●
●
●
●
●
●
●

html
head
body
div
table
form
a
img

●
●
●
●
●
●
●

span
p
h1-h6
ul
ol
hr
br
Örnek HTML Sayfası
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Demo Application</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
CSS (Cascading Style Sheets)
CSS, html ‘e stil vererek sayfanın görünümünü
şekillendirir.
Hiçbir CSS olmayan sayfada tarayıcının
varsayılan stilleri uygulanır. Örneğin p etiketi
için block span etiketi için inline stil uygulanır.
CSS (Cascading Style Sheets)
CSS html üzerinde hangi etikete stil
uygulayacağını seçiciler (selectors) yardımıysa
gerçekleştirir.
CSS etiket özelliği olarak
, html
kodunun içinde
etiketleri içinde veya
harici dosya
olarak yüklenir.
<p style=”color:red”></p>

<style>..</style>

<link rel="stylesheet" href="" type="text/css" />
CSS Seçicileri (selectors)
● Tüm element seçici (*)
● Type seçici (a, from, table, div, span ..)
● ID seçici (#header, #main, #contact ..)
● Class seçici (.hidden, .alert, .description)
CSS Conditional comments
<!--[if IE]>

<!--[if gte IE 8]>

According to the conditional comment this is IE

According to the conditional comment this is IE 8 or higher

<![endif]-->

<![endif]-->

<!--[if IE 6]>

<!--[if lt IE 9]>

According to the conditional comment this is IE 6

According to the conditional comment this is IE lower than 9

<![endif]-->

<![endif]-->

..7..8…

<!--[if !IE]> -->
According to the conditional comment this is not IE 5-9

<!--[if IE 9]>
According to the conditional comment this is IE 9
<![endif]-->

<!-- <![endif]-->

More Related Content

PPT
HTML Nedir?
PPTX
sunu (Html-1)
PPT
CSS'de Temel Özellikler
PDF
Temel HTML Etiketleri - Text, Image, Link, List, Image
PDF
Temel HTML Etiketleri ve Kullanım Örnekleri
PDF
CSS - Genel Bakış
PDF
Temel (Basic) HTML ve CSS | Front-End Camp 2018
PPTX
8.haft design web designer web for web w
HTML Nedir?
sunu (Html-1)
CSS'de Temel Özellikler
Temel HTML Etiketleri - Text, Image, Link, List, Image
Temel HTML Etiketleri ve Kullanım Örnekleri
CSS - Genel Bakış
Temel (Basic) HTML ve CSS | Front-End Camp 2018
8.haft design web designer web for web w

Similar to HTML ve CSS (20)

PDF
PDF
47 Ronin Filmi izle
PDF
Css giris
PDF
Web Site Tasarimi (HTML)
PPTX
HTML 1 - Girf desigcomp web design web g
PPTX
Html5 Yenilikleri & SEO
PPTX
Web Tasarımı
PDF
Web Site Tasarımı (HTML-Css) Dersi Güncelleme - 2018
PPT
PPTX
HTML 3 - Stiller for December design web
PDF
HTML İşaretleme Diline Giriş Eğitimleri 1
PDF
DOC
StajDefteri_BİLGİSAYAR_23.doc
DOC
StajDefteri_BİLGİSAYAR_23.doc
PDF
CSS3' e Giriş
PDF
Css3
PDF
Css sitesi
PDF
Css kitabi
PPTX
CSS'de Seçiciler
PPT
Htmlders
47 Ronin Filmi izle
Css giris
Web Site Tasarimi (HTML)
HTML 1 - Girf desigcomp web design web g
Html5 Yenilikleri & SEO
Web Tasarımı
Web Site Tasarımı (HTML-Css) Dersi Güncelleme - 2018
HTML 3 - Stiller for December design web
HTML İşaretleme Diline Giriş Eğitimleri 1
StajDefteri_BİLGİSAYAR_23.doc
StajDefteri_BİLGİSAYAR_23.doc
CSS3' e Giriş
Css3
Css sitesi
Css kitabi
CSS'de Seçiciler
Htmlders
Ad

More from Mustafa Kırımlı (8)

PDF
Compute @ edge
PPTX
Why and Way of Using Docker & Kubernetes
PDF
Running kubernetes
PDF
Spot instances on kubernetes
PDF
Opsiyonlar
PDF
PHP Dosya Yükleme
PDF
Smarty Template Engine
PDF
Http Yaşam Döngüsü
Compute @ edge
Why and Way of Using Docker & Kubernetes
Running kubernetes
Spot instances on kubernetes
Opsiyonlar
PHP Dosya Yükleme
Smarty Template Engine
Http Yaşam Döngüsü
Ad

HTML ve CSS

  • 1. HTML ve CSS Mustafa Kırımlı
  • 2. HTML (HyperText Markup Language) HTML, sayfanın yapısı ve içeriği hakkında bilgiler barındıran, etiket (tag) ve öznitelik (attribute) içeren, metin bazlı, basit bir dildir. Her sayfanın ham (raw) hali ve oluşturulmuş (genrated source, dom) hali olmak üzere iki HTML kodu bulunur.
  • 4. Örnek HTML Sayfası <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Demo Application</title> </head> <body> <h1>Hello World!</h1> </body> </html>
  • 5. CSS (Cascading Style Sheets) CSS, html ‘e stil vererek sayfanın görünümünü şekillendirir. Hiçbir CSS olmayan sayfada tarayıcının varsayılan stilleri uygulanır. Örneğin p etiketi için block span etiketi için inline stil uygulanır.
  • 6. CSS (Cascading Style Sheets) CSS html üzerinde hangi etikete stil uygulayacağını seçiciler (selectors) yardımıysa gerçekleştirir. CSS etiket özelliği olarak , html kodunun içinde etiketleri içinde veya harici dosya olarak yüklenir. <p style=”color:red”></p> <style>..</style> <link rel="stylesheet" href="" type="text/css" />
  • 7. CSS Seçicileri (selectors) ● Tüm element seçici (*) ● Type seçici (a, from, table, div, span ..) ● ID seçici (#header, #main, #contact ..) ● Class seçici (.hidden, .alert, .description)
  • 8. CSS Conditional comments <!--[if IE]> <!--[if gte IE 8]> According to the conditional comment this is IE According to the conditional comment this is IE 8 or higher <![endif]--> <![endif]--> <!--[if IE 6]> <!--[if lt IE 9]> According to the conditional comment this is IE 6 According to the conditional comment this is IE lower than 9 <![endif]--> <![endif]--> ..7..8… <!--[if !IE]> --> According to the conditional comment this is not IE 5-9 <!--[if IE 9]> According to the conditional comment this is IE 9 <![endif]--> <!-- <![endif]-->