DISKON TERBATAS! Masukkan kupon "skillbaru" saat checkout di kelas apa saja

Logo Koala Skodev mengetik

Skodev

Belajar coding dalam bahasa Indonesia

TEXT INDENT PADA CSS

bagaimana cara mengatur jarak di awal paragraf atau memberi indentasi pada website dengan CSS menggunakan text-indent

text-indent adalah properti CSS yang digunakan untuk membuat indentasi di awal tulisan.

contoh text-indent

<p style="text-indent: 30px;"> 
    Text dengan indent.  is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was p
</p>

Text dengan indent. Perhatikan jarak awal dari sisi kiri pada tulisan! ... is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was p

text-indent adalah salah satu properi CSS untuk mengatur jarak tulisan pada situs HTML.

👈🏼 Jarak tulisan pada CSS
letter spacing pada CSS 👉🏼