Desain

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:

Mengenal SEVIMA

SEVIMA merupakan perusahaan Edutech (education technology) yang telah berkomitmen selama 18 tahun dalam menyelesaikan kendala kerumitan administrasi akademik di pendidikan tinggi (Universitas, Sekolah Tinggi, Institut, Politeknik, Akademi, dll.) dengan 99% keberhasilan implementasi melalui sistem informasi siAkadCloud

TAGS :

Komentar
Facebook Notice for EU! You need to login to view and post FB Comments!