<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-909098294691378078</id><updated>2024-11-01T17:36:30.798+07:00</updated><category term="Belajar CSS"/><category term="Belajar CSS 3"/><category term="CSS Dasar"/><category term="Ilmu CSS"/><category term="Ilmu CSS3"/><title type='text'>Ilmu CSS</title><subtitle type='html'>Ilmu CSS, Belajar CSS, CSS Dasar, CSS Menengah, CSS Tingkat Lanjut, Belajar CSS3</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ilmu-css.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/909098294691378078/posts/default'/><link rel='alternate' type='text/html' href='http://ilmu-css.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05826222108773837785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-909098294691378078.post-2379448902875180150</id><published>2013-12-28T17:49:00.000+07:00</published><updated>2013-12-31T20:44:05.125+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Belajar CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Belajar CSS 3"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS Dasar"/><category scheme="http://www.blogger.com/atom/ns#" term="Ilmu CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Ilmu CSS3"/><title type='text'>Apa itu CSS?</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimEuhKepZ445uYyXivP8GceHLMaUDnT4XkrWRUsvWT6_1jQuAZo1sdf4OzjIpxCSSS6qwswrstli2Xw0rtrPEGS2VfU9F-TMyeloAlSmb80iv8hPjf13BCvxw0npYqZkbKTH3kr_wGTmLC/s1600/CSS.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Ilmu CSS&quot; border=&quot;0&quot; height=&quot;280&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimEuhKepZ445uYyXivP8GceHLMaUDnT4XkrWRUsvWT6_1jQuAZo1sdf4OzjIpxCSSS6qwswrstli2Xw0rtrPEGS2VfU9F-TMyeloAlSmb80iv8hPjf13BCvxw0npYqZkbKTH3kr_wGTmLC/s320/CSS.jpg&quot; title=&quot;Ilmu CSS&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&amp;nbsp;Definisi CSS&lt;/h2&gt;
&lt;br /&gt;
Mungkin anda ada yang bertanya-tanya, apa itu CSS? Dan apa fungsinya?&lt;br /&gt;
&lt;br /&gt;
Menurut defini saya sendiri CSS (Cascading Style Sheet) adalah sekumpulan kode yang berfungsi menata tata letak halaman dan bertanggung jawab atas penampilan pada suatu website. Di dalam dunia web design, CSS adalah suatu kode yang dianggap wajib oleh para web designer , karena selain untuk menata tampilan pada halaman website, CSS ini juga berfungsi sebagai &lt;a href=&quot;http://en.wikipedia.org/wiki/Search_engine_optimization&quot; rel=&quot;nofollow&quot;&gt;SEO (Search Engine Optimization)&lt;/a&gt;. Bayangkan jika suatu website tanpa mempunyai kode CSS didalamnya, sungguh membuat pengunjung merasa tidak nyaman bukan? Maka oleh sebab itu kode yang diatur oleh W3C ini sangatlah berperan penting. Oh iya sebelum anda mempelajari apa itu CSS, alangkah baiknya anda mempelajari apa itu HTML. Karena percuma apabila kode CSS kita bagus tapi tidak bernampak di browser ya? :D . Dari tadi ngomongin definisi CSS melulu ya, mending langsung saja ke inti.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Penulisan CSS&lt;/h2&gt;
&amp;nbsp;Hmm, penulisan CSS. Mengenai hal itu saya akan berkomentar bahwa penulisan CSS itu ada 3 macam. Apa aja sih?&lt;br /&gt;
&lt;br /&gt;
Jenis-jenis penulisan CSS:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Inline CSS&lt;/li&gt;
&lt;li&gt;Internal CSS&lt;/li&gt;
&lt;li&gt;External CSS&lt;/li&gt;
&lt;/ol&gt;
Wah ada 3 ya? Lalu gimana?&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Inline CSS&lt;/h3&gt;
Inline CSS adalah suatu jenis penulisan CSS yang berada di dalam tag HTML atau lebih tepatnya di dalam atribut style.&lt;br /&gt;
&lt;br /&gt;
Saya akan memberi contoh penulisan CSS jenis ini di dalam suatu HTML, berikut kodenya :&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html;fontsize: 100; first-line: 1; &quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Ilmu CSS&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;p style=&quot;background: black&quot;&amp;gt;Ini adalah contoh paragraph&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Yang diberi warna putih itu merupakan contoh dari kode CSS inline yang disisipkan di dalam sebuah tag HTML dan pada atribut style yang kebetulan pada tag p (paragraph). Dan yang diberi warna hijau itu adalah kode CSSnya.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
Internal CSS&lt;/h3&gt;
Mengenal kata internal, anda pasti dapat mentimpulkan bahwa itu adalah CSS yang berada didalam. Ya, memang benar CSS itu berada di dalam, tepatnya didalam suatu HTML. Penulisan Internal CSS ini adalah didalam tag &amp;lt;style&amp;gt; dan tag &amp;lt;style&amp;gt; itu berada di tag &amp;lt;head&amp;gt;. Daripada bingung langsung saja kita lihat kodenya:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;head&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;title&amp;gt;Ilmu CSS&amp;lt;/title&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;i&gt;&amp;lt;style&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;i&gt;body {&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;background-color: black&lt;/span&gt; }&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/head&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;body&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;p&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;Paragraph&amp;lt;/p&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/body&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;i&gt;&amp;nbsp;&lt;/i&gt;Yang diberi warna merah adalah tipe penulisan CSS internal dan yang berwarna biru itu adalah kode CSSnya.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
External CSS&lt;/h3&gt;
Kalo ada internal, pasti juga ada lawannya yaitu external (diluar) . Penulisan CSS jenis ini memungkinkan anda menulis kode CSS diluar HTML lebih tepatnya membuat file baru yang berformat .css (misal: ilmu-css.css) dan didalam tag link dan didalam tag href. Jenis penulisan CSS ini adalah penulisan yang sangat digemari oleh para web designer karena dianggap menyederhanakan script CSS bahkan dianggap efisien. Saya tidak akan membahasnya. Jadi, langsung saja ke contoh kodenya saja.&lt;br /&gt;
Misalkan, kita mempunyai kode HTML begini dan kita ambil contoh nama file CSSnya ilmu-css.css:&lt;br /&gt;
File HTML: &lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;head&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;title&amp;gt;Ilmu CSS&amp;lt;/title&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&lt;i&gt;&amp;lt;link rel=&quot;stylesheet&quot; href=&quot;ilmu-css.css&quot; /&amp;gt;&lt;/i&gt; &lt;/i&gt;&lt;/li&gt;
&lt;i&gt;&lt;/i&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/head&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;body&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;p&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;Paragraph&amp;lt;/p&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/body&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;&amp;lt;/html&amp;gt;&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
File&lt;i&gt; &lt;/i&gt;CSS (ilmu-css.css):&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: css;fontsize: 100; first-line: 1; &quot;&gt;body { background-color: black}
p { color: white }
&lt;/pre&gt;
Dari kedua file diatas, bisa saya simpulkan bahwa pemanggilan CSS dengan tipe penulisan ini kita harus membuat tag link didalam tag head dan isi dari atribut href itu adalah url file CSS kita berada. Dan di file ilmu-css.css itu kita dapat leluasa memasukkan file CSS.&lt;br /&gt;
&lt;br /&gt;
Mungkin hanya itu saja yang bisa saya jelaskan . Terimakasih&lt;br /&gt;
Salam Ilmu CSS ! &lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ilmu-css.blogspot.com/feeds/2379448902875180150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ilmu-css.blogspot.com/2013/12/apa-itu-css.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/909098294691378078/posts/default/2379448902875180150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/909098294691378078/posts/default/2379448902875180150'/><link rel='alternate' type='text/html' href='http://ilmu-css.blogspot.com/2013/12/apa-itu-css.html' title='Apa itu CSS?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05826222108773837785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimEuhKepZ445uYyXivP8GceHLMaUDnT4XkrWRUsvWT6_1jQuAZo1sdf4OzjIpxCSSS6qwswrstli2Xw0rtrPEGS2VfU9F-TMyeloAlSmb80iv8hPjf13BCvxw0npYqZkbKTH3kr_wGTmLC/s72-c/CSS.jpg" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-909098294691378078.post-9222841540773618587</id><published>2013-12-28T17:04:00.000+07:00</published><updated>2013-12-29T15:18:00.997+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Belajar CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Belajar CSS 3"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS Dasar"/><category scheme="http://www.blogger.com/atom/ns#" term="Ilmu CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Ilmu CSS3"/><title type='text'>Ilmu CSS</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGNO2GFmBBcv03fiXQoFkopQtGxDlb29qxjuQsZQZaBUt41I0l9a5oQxty3F8tDJu_PLVZAWFYVVicBWOcoOKGD_S2Pf8nyr1RzA8kD3t7SAxQRnmhyPHaJwTCzTpLu4ctGfukTEhgNrRU/s1600/ilmu-css.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGNO2GFmBBcv03fiXQoFkopQtGxDlb29qxjuQsZQZaBUt41I0l9a5oQxty3F8tDJu_PLVZAWFYVVicBWOcoOKGD_S2Pf8nyr1RzA8kD3t7SAxQRnmhyPHaJwTCzTpLu4ctGfukTEhgNrRU/s320/ilmu-css.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Halo pengunjung Ilmu CSS.&lt;br /&gt;
Disini saya hanya ingin menerangkan apa sih fungsi blog ini?&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Latar Belakang&lt;/h2&gt;
&lt;br /&gt;
Ilmu CSS adalah sebuah blog yang berisi ilmu tentang CSS. Blog ini dibuat pada tanggal 28 Desember yang dikelola oleh seorang yang bernama Wildan MR. Ya, saya memang bukanlah ahli sepenuhnya tentang CSS. Bahkan saya newbie :D . Tapi disini saya mempunyai tekad untuk menginformasikan tentang ilmu CSS yang saya pernah ketahui , diharapkan anda sebagai pengunjung dapat menerimanya dengan baik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Metode&lt;/h2&gt;
Mungkin saya akan menjelaskan perihal CSS ini melalui bahasa saya. Jujur saja bahasa saya tidak sebagus bahasa yang ada di blog lain.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Kesimpulan&lt;/h2&gt;
Mungkin hanya itu sambutan dari saya, semoga blog ini bermanfaat bagi kita.&lt;br /&gt;
Salam Ilmu CSS ! </content><link rel='replies' type='application/atom+xml' href='http://ilmu-css.blogspot.com/feeds/9222841540773618587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ilmu-css.blogspot.com/2013/12/ilmu-css.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/909098294691378078/posts/default/9222841540773618587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/909098294691378078/posts/default/9222841540773618587'/><link rel='alternate' type='text/html' href='http://ilmu-css.blogspot.com/2013/12/ilmu-css.html' title='Ilmu CSS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05826222108773837785</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGNO2GFmBBcv03fiXQoFkopQtGxDlb29qxjuQsZQZaBUt41I0l9a5oQxty3F8tDJu_PLVZAWFYVVicBWOcoOKGD_S2Pf8nyr1RzA8kD3t7SAxQRnmhyPHaJwTCzTpLu4ctGfukTEhgNrRU/s72-c/ilmu-css.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>