Cara Menggunakan CSS Backgrounds

Fadhol SEVIMA 30 July 2020

Cara Menggunakan CSS Backgrounds
SEVIMA.COM - CSS background properties biasanya digunakan untuk memberi warna/ gambar pada latar belakang pada suatu elemen. Contoh : <html> <head> <style type="text/css"> body { background-color:#b0c4de; } h1 { background-color:#6495ed; } p { background-color:#e0ffff; } div { background-color:#b0c4de; } </style> </head> <body> <h1>CSS background-color example!< <div> This is a text inside a div element. <p>This paragraph has it's own backg We are still in the div element. </div> </body> </html> Hasilnya :

SEVIMA : Take IT Easy

Baca juga:

Share artikel:
Hubungi SEVIMA