SlideShare a Scribd company logo
1 of 1
Download to read offline
CSS Tutorial                                                       rosihanari.net


Style Untuk Font Family

Font family digunakan untuk menentukan jenis huruf/font pada suatu tampilan teks.
Berikut ini adalah nama properti dan penulisan valuenya:


font-family: name;



dengan name adalah jenis font yang Anda inginkan.

Contoh:


p {
      font-family: arial;
  }



Anda juga dapat memberikan jenis font lebih dari satu yang dipisahkan dengan koma.

Contoh:


p {
      font-family : "arial black", arial, "Times New Roman";
  }



Maksud dari style di atas adalah bahwa jenis font arial black akan diprioritaskan untuk
digunakan. Namun apabila font tersebut tidak disupport oleh browser maka yang
digunakan arial, begitu seterusnya.

Sebagai catatan, untuk jenis font yang terdiri dari lebih satu kata harus diapit dengan
tanda petik ganda (double quotes).




Style Untuk Font Family                                                              19

More Related Content

Viewers also liked

De lo que sucedió a un hombre rico con sus 2 pretendientas
De lo que sucedió a un hombre rico con sus 2 pretendientasDe lo que sucedió a un hombre rico con sus 2 pretendientas
De lo que sucedió a un hombre rico con sus 2 pretendientascmpiys
 
Dec 3 building bettersentences flier
Dec 3 building bettersentences flierDec 3 building bettersentences flier
Dec 3 building bettersentences flierLesley Roessing
 
גם למען חופש הביטוי אסור להתעלם מעובדות
גם למען חופש הביטוי אסור להתעלם מעובדותגם למען חופש הביטוי אסור להתעלם מעובדות
גם למען חופש הביטוי אסור להתעלם מעובדותmeirpail
 
Chapter two goals and time management
Chapter two goals and time managementChapter two goals and time management
Chapter two goals and time managementangelet92
 
Normas Icontec Al día ( todo completo)
Normas Icontec Al día ( todo completo)Normas Icontec Al día ( todo completo)
Normas Icontec Al día ( todo completo)jayerxD
 
Excel 1er año
Excel 1er añoExcel 1er año
Excel 1er añomicaydina
 
Presentacion del timo
Presentacion del timoPresentacion del timo
Presentacion del timoNico Tavera
 
Indicador de desempeño 3.1
Indicador de desempeño 3.1Indicador de desempeño 3.1
Indicador de desempeño 3.1scoobyVIII
 
Trabajo final 3º nota 2013
Trabajo final 3º nota 2013Trabajo final 3º nota 2013
Trabajo final 3º nota 2013Romina Fernandez
 
Diagnostico economico financiero y riesgo de liquidez
Diagnostico economico financiero y riesgo de liquidezDiagnostico economico financiero y riesgo de liquidez
Diagnostico economico financiero y riesgo de liquidezFernandaRabines
 
testtutorial global-eye.org
testtutorial global-eye.orgtesttutorial global-eye.org
testtutorial global-eye.orgSufian Abu-Rab
 

Viewers also liked (18)

De lo que sucedió a un hombre rico con sus 2 pretendientas
De lo que sucedió a un hombre rico con sus 2 pretendientasDe lo que sucedió a un hombre rico con sus 2 pretendientas
De lo que sucedió a un hombre rico con sus 2 pretendientas
 
Dec 3 building bettersentences flier
Dec 3 building bettersentences flierDec 3 building bettersentences flier
Dec 3 building bettersentences flier
 
Pe a 26_hirvonen_2
Pe a 26_hirvonen_2Pe a 26_hirvonen_2
Pe a 26_hirvonen_2
 
Lllll
LllllLllll
Lllll
 
Grafico controlador de 300 kw
Grafico controlador de 300 kwGrafico controlador de 300 kw
Grafico controlador de 300 kw
 
גם למען חופש הביטוי אסור להתעלם מעובדות
גם למען חופש הביטוי אסור להתעלם מעובדותגם למען חופש הביטוי אסור להתעלם מעובדות
גם למען חופש הביטוי אסור להתעלם מעובדות
 
Chapter two goals and time management
Chapter two goals and time managementChapter two goals and time management
Chapter two goals and time management
 
Pancarta jeans shop
Pancarta jeans shopPancarta jeans shop
Pancarta jeans shop
 
Patologia infecciosaemmi
Patologia infecciosaemmiPatologia infecciosaemmi
Patologia infecciosaemmi
 
Normas Icontec Al día ( todo completo)
Normas Icontec Al día ( todo completo)Normas Icontec Al día ( todo completo)
Normas Icontec Al día ( todo completo)
 
Excel 1er año
Excel 1er añoExcel 1er año
Excel 1er año
 
Presentacion del timo
Presentacion del timoPresentacion del timo
Presentacion del timo
 
Indicador de desempeño 3.1
Indicador de desempeño 3.1Indicador de desempeño 3.1
Indicador de desempeño 3.1
 
Trabajo final 3º nota 2013
Trabajo final 3º nota 2013Trabajo final 3º nota 2013
Trabajo final 3º nota 2013
 
Diagnostico economico financiero y riesgo de liquidez
Diagnostico economico financiero y riesgo de liquidezDiagnostico economico financiero y riesgo de liquidez
Diagnostico economico financiero y riesgo de liquidez
 
maths
mathsmaths
maths
 
testtutorial global-eye.org
testtutorial global-eye.orgtesttutorial global-eye.org
testtutorial global-eye.org
 
Kagermeier Vlotho 10_2002
Kagermeier Vlotho 10_2002Kagermeier Vlotho 10_2002
Kagermeier Vlotho 10_2002
 

More from Dani Imansyah (20)

Tutorial joomla1.5.x
Tutorial joomla1.5.x Tutorial joomla1.5.x
Tutorial joomla1.5.x
 
Tutorial lan
Tutorial lanTutorial lan
Tutorial lan
 
Css tutorial-20
Css tutorial-20Css tutorial-20
Css tutorial-20
 
Css tutorial-19
Css tutorial-19Css tutorial-19
Css tutorial-19
 
Css tutorial-18
Css tutorial-18Css tutorial-18
Css tutorial-18
 
Css tutorial-17
Css tutorial-17Css tutorial-17
Css tutorial-17
 
Css tutorial-16
Css tutorial-16Css tutorial-16
Css tutorial-16
 
Css tutorial-15
Css tutorial-15Css tutorial-15
Css tutorial-15
 
Css tutorial-14
Css tutorial-14Css tutorial-14
Css tutorial-14
 
Css tutorial-13
Css tutorial-13Css tutorial-13
Css tutorial-13
 
Css tutorial-12 2
Css tutorial-12 2Css tutorial-12 2
Css tutorial-12 2
 
Css tutorial-12
Css tutorial-12Css tutorial-12
Css tutorial-12
 
Css tutorial-11
Css tutorial-11Css tutorial-11
Css tutorial-11
 
Css tutorial-10
Css tutorial-10Css tutorial-10
Css tutorial-10
 
Css tutorial-09
Css tutorial-09Css tutorial-09
Css tutorial-09
 
Css tutorial-08
Css tutorial-08Css tutorial-08
Css tutorial-08
 
Css tutorial-07
Css tutorial-07Css tutorial-07
Css tutorial-07
 
Css tutorial-05
Css tutorial-05Css tutorial-05
Css tutorial-05
 
Css tutorial-04
Css tutorial-04Css tutorial-04
Css tutorial-04
 
Css tutorial-03
Css tutorial-03Css tutorial-03
Css tutorial-03
 

CSS Tutorial: Style Untuk Font Family

  • 1. CSS Tutorial rosihanari.net Style Untuk Font Family Font family digunakan untuk menentukan jenis huruf/font pada suatu tampilan teks. Berikut ini adalah nama properti dan penulisan valuenya: font-family: name; dengan name adalah jenis font yang Anda inginkan. Contoh: p { font-family: arial; } Anda juga dapat memberikan jenis font lebih dari satu yang dipisahkan dengan koma. Contoh: p { font-family : "arial black", arial, "Times New Roman"; } Maksud dari style di atas adalah bahwa jenis font arial black akan diprioritaskan untuk digunakan. Namun apabila font tersebut tidak disupport oleh browser maka yang digunakan arial, begitu seterusnya. Sebagai catatan, untuk jenis font yang terdiri dari lebih satu kata harus diapit dengan tanda petik ganda (double quotes). Style Untuk Font Family 19