Saturday, May 4, 2013

Menulis Code Css

Starting learn Css, he

Css ( Cascading Style Sheets ) adalah sebuah bahasa scripting yang digunakan untuk membuat tampilan halaman website menjadi manis, seperti manisnya madu . kok jadi ke madu yah ?he lanjut ah, penulisan Css terbagi kedalam 2 bagian yaitu 
1. Kita dapat menuliskan Script Css langsung di dalam Html.
2. Kita dapat menuliskan Script Css di luar file Html sebagai file External dengan ekstensi .css

Contoh Point 1
 <div style="property:value;"> Konten </ div> 
Contoh Point 2
<html> <head> <title> Titlul </ title> <style type="text/css"> selector {properti: value; another_property: value;} </ style> </ head> <body> ...  Halaman cotent ...  </ Body> </ html>

Pada script diatas ada property : value , property dan value harus kita pisahkan dengan tanda semicolon " : " dan di akhiri dengan tanda ;

Property adalah selector yang hendak diatur
Value adalah nilai dari pengaturannya

Nah kalau Selector itu seperti ini nih

Keterangan
 h1 = Selector
color = Property
red = value

Jadi Selector itu menunjunjukan bagian mana yang akan hendak kita ubah.

Lanjut Ke => Pengelompokan Selector

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Berlangganan Tutorial

Enter your email address:

Delivered by FeedBurner

Donasi Untuk Blog ini

Powered by Blogger.

Popular Posts

Followers

Visitor

Rank

Share For You © 2013 Supported by Best Blogger Templates and Premium Blog Templates

Receive all updates via Facebook. Just Click the Like Button Below...

Powered By ErwinTipsTrick