w3schools versi Indonesia supported by Irawan
 
Home

Belajar CSS
Intro
Syntax
How To
Background
Text
Font
Border
Garis Tepi
Penjeda
List
Tabel

Belajar HTML

Link-Link
www.w3schools.com

Font CSS

Sebelumnya -- Berikutnya
--------------------------------------------------------------------------------

Font CSS menjelaskan pemakaian font pada text.

--------------------------------------------------------------------------------

Property Font CSS

Property font pada CSS memudahkanmu merubah font-family, ketebalan, ukuran, dan style text.

Versi:
IE=Internet Explorer
F=Firefox
N=Netscape
W3C=Rekomendasi W3C

Property Deskripsi Values IE F N W3C
font
Property singkat dalam penulisan font-style
font-variant
font-weight
font-size/line-height
font-family
caption
icon
menu
message-box
small-caption
status-bar
4 1 4 1
font-family
Sebuah daftar prioritas dari nama font dari suatu elemen family-name
generic-family
3 1 4 1
font-size
Mengatur ukuran text xx-small
x-small
small
medium
large
x-large
xx-large
smaller
larger
length
%
3 1 4 1
font-size-adjust Memberikan nilai spesifik dari ukuran font none
number
- - - 2
font-stretch Merapatkan atau melebarkan font normal
wider
narrower
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded
expanded
extra-expanded
ultra-expanded
- - - 2
font-style
Mengatur style font normal
italic
oblique
4 1 4 1
font-variant
Menampilkan text dalam huruf kecil atau normal normal
small-caps
4 1 6 1
font-weight
Mengatur ketebalan font normal
bold
bolder
lighter
100
200
300
400
500
600
700
800
900
4 1 4 1


--------------------------------------------------------------------------------
Sebelumnya -- Berikutnya
--------------------------------------------------------------------------------

 

Pilih Style
untuk halaman ini
Style Awal (Hijau)
Style Kuning
Style Abu-Abu