Biongo Attacker

Seputar Programing Dan Informasi tentang Teknologi masa kini

  • Home
  • P Website
  • _HTML
  • _CSS
  • _Javascript
  • __Jquery
  • _PHP
  • __Codeigniter
  • Informasi
  • Tips dan Trick
  • Lainnya
  • -label/template,blog,script,Alat
Home Archives for 03/24/16

Tutorial membuat tampilan atau layout website dengan css

Alsaskar Mirando Alsaskar Mirando 03:00:00 | #css
Selamat Sore semua - Membuat tampilan atau layout website dengan css bisa di bilang cukup mudah apabila para sobat mengerti akan dasar-dasar kode css dan juga property css.Css membantu para web desainer untuk membangun sebuah website agar lebih terlihat menarik.Ingat ! tanpa css web kita akan terlihat jelek dan tidak akan rapih atau tidak terlihat menarik.Css juga bahasa pemograman yang harus dikuasi bagi para programmer web yang ada di dunia.

Baca Juga : Cara membuat tombol menjadi menarik dengan css
                  Cara membuat tabel menjadi menarik

Layout website terdiri dari empat kerangka web yaitu :
  1. Header
    • Kepala website, tempat logo website, dan lain sebagainya.
    • Body
      • Merupakan isi dari sebuah website, bisa berupa isi postingan, dan lain sebagainya.
    • Footer
      • Tempat untuk menulis hak cipta pada sebuah website.
    • Sidebar
      • Tempat untuk menaruh menu, konten, dan lain sebagainya
    Di tutorial ini saya tidak kasih penjelasan kode-nya karena dalam tutorial ini saya anggap teman-teman sudah belajar css lebih dalam, sekali lagi saya mohon maaf.Oke langsung saja copy script-nya di bawah ini.

    
    <html>
    <head>
        <title>Belajar Membuat Layout</title>
    </head>
    <body>
        <div class="header">
            <h2>Biongo Attacker</h2>
        </div>
        <div class="sidebar">
            <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">About</a></li>
                <li><a href="#">Fanspage</a></li>
                <li><a href="#">Blog</a></li>
            </ul>
        </div>
        <div class="body">
            <h3>Judul Postingan</h3>
            <p><b>Isi konten di bawah ini</b></p>
            <p>Lorem Ipsum 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 popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    
            It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
             
    
            Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.</p>
        </div>
        <div class="footer">
            <p>Copyright &copy; 2016 Biongo Attacker</p>
        </div>
    </body>
    </html>
    

    
    *{
            margin: 0;
            padding: 0;
          }
    
          /*Style untuk header*/
          .header{
            color: #09a5ff;
            background-color: #ccccff;
            width: 100%;
            height: 70px;
            line-height: 60px;
            font-family: arial;
          }
    
          /*Style untuk sidebar*/
          .sidebar{
            float: right;
            padding: 10px;
            background-color: #ccccff;
            width: 100px;
            height: 83%;
            font-family: arial;
            text-align: center;
            line-height: 50px;
          }
    
          a{
            text-decoration: none;
            color: black;
          }
    
          a:hover{
            color: #ff62a1;
          }
    
          li{
            list-style: none;
          }
    
          /*Style untuk body*/
          .body{
            padding-top: 30px;
            font-family: arial;
            margin-left: 10px;
          }
    
          p{
            padding-top: 5px;
            text-shadow: 1px 2px 5px #67f0db;
          }
    
          /*Style untuk footer*/
          .footer{
            background-color:#ccccff;
            clear:both;
            padding-top:2px;
            font-family: verdana;
            width: 100%;
            height: 50px;
            line-height: 45px;
            text-align: center;
          }
    

    Pada kode di atas, saya menggunakan teknik internal untuk menggabungkan css dengan html.Kode di atas juga bisa anda edit-edit sedikit agar terlihat lebih menarik.Dan untuk hasil-nya bisa lihat pada gambar di bawah ini.
    Oke sampai disini dulu, semoga bermanfaat buat yang baca artikel ini.

    Jika ada yang mau ditanyakan silahkan berkomentar dibawah.
    • Share
    • Tweet
    • Share
    • Share
    • Share
    Subscribe to: Posts (Atom)

    Popular

    • Cara mengganti warna navbar pada bootstrap
      Cara mengganti warna navbar pada bootstrap
      Cara mengganti warna navbar pada bootstrap - Banyak yang bingung bagaimana untuk mengganti warna navbar pada bootstrap.Saya juga waktu itu...
    • Download Script Phising PB Garena Recoded By Biongo Attacker
      Download Script Phising PB Garena Recoded By Biongo Attacker
      Selamat malam gan., di malam hari ini saya akan share script phising PB Garena.Karena saya lihat banyak teman-teman saya yang bermain Point ...
    • Download Aplikasi Perpustakaan Berbasis Web Sederhana
      Download Aplikasi Perpustakaan Berbasis Web Sederhana
      Selamat siang teman-teman.Ketemu lagi nih dengan saya, tapi kesempatan ini saya tidak kasih mengenai tutorial, tetapi dikesempatan ini saya ...

    Archive

    • ►  2017 (4)
      • ►  March (1)
        • ►  Mar 12 (1)
      • ►  February (2)
        • ►  Feb 26 (1)
        • ►  Feb 22 (1)
      • ►  January (1)
        • ►  Jan 26 (1)
    • ▼  2016 (65)
      • ►  December (1)
        • ►  Dec 02 (1)
      • ►  September (4)
        • ►  Sept 11 (1)
        • ►  Sept 09 (2)
        • ►  Sept 02 (1)
      • ►  August (5)
        • ►  Aug 30 (1)
        • ►  Aug 29 (1)
        • ►  Aug 13 (1)
        • ►  Aug 12 (1)
        • ►  Aug 10 (1)
      • ►  July (6)
        • ►  Jul 29 (1)
        • ►  Jul 16 (1)
        • ►  Jul 14 (1)
        • ►  Jul 13 (1)
        • ►  Jul 12 (1)
        • ►  Jul 09 (1)
      • ►  June (5)
        • ►  Jun 29 (1)
        • ►  Jun 28 (1)
        • ►  Jun 06 (1)
        • ►  Jun 05 (1)
        • ►  Jun 01 (1)
      • ►  May (6)
        • ►  May 29 (1)
        • ►  May 24 (1)
        • ►  May 20 (1)
        • ►  May 19 (1)
        • ►  May 12 (1)
        • ►  May 01 (1)
      • ►  April (24)
        • ►  Apr 30 (1)
        • ►  Apr 28 (1)
        • ►  Apr 27 (1)
        • ►  Apr 26 (2)
        • ►  Apr 25 (2)
        • ►  Apr 23 (2)
        • ►  Apr 22 (1)
        • ►  Apr 08 (1)
        • ►  Apr 07 (1)
        • ►  Apr 06 (2)
        • ►  Apr 05 (2)
        • ►  Apr 04 (2)
        • ►  Apr 03 (2)
        • ►  Apr 02 (3)
        • ►  Apr 01 (1)
      • ▼  March (10)
        • ►  Mar 30 (2)
        • ►  Mar 29 (2)
        • ►  Mar 26 (1)
        • ▼  Mar 24 (1)
          • Tutorial membuat tampilan atau layout website deng...
        • ►  Mar 22 (1)
        • ►  Mar 13 (2)
        • ►  Mar 01 (1)
      • ►  February (4)
        • ►  Feb 24 (1)
        • ►  Feb 18 (1)
        • ►  Feb 16 (1)
        • ►  Feb 13 (1)
    • ►  2015 (15)
      • ►  December (2)
        • ►  Dec 30 (1)
        • ►  Dec 29 (1)
      • ►  November (3)
        • ►  Nov 20 (1)
        • ►  Nov 12 (2)
      • ►  October (8)
        • ►  Oct 24 (1)
        • ►  Oct 23 (2)
        • ►  Oct 22 (1)
        • ►  Oct 21 (2)
        • ►  Oct 13 (1)
        • ►  Oct 05 (1)
      • ►  September (1)
        • ►  Sept 29 (1)
      • ►  August (1)
        • ►  Aug 09 (1)

    Comment

    recentcomment

    Fanspage

    Biongo Attacker

    [fa fa-tag] Category

    ajax Alat android blog bootstrap cerita codeigniter css html info javascript jquery motivasi pascal php script sublime text template Tips dan Trick visual basic

    Tentang

    Sebuah blog yang dibuat untuk membagikan tutorial seputar programming dan juga memberikan informasi seputar teknologi masa kini.

    Pengikut

    Copyright © 2017 Biongo Attacker All Right Reserved
    Template By Bloggerku
    Kontak | Daftar Isi | Privacy Policy | TOS