Advertisement
raffi_pratama

Untitled

Sep 20th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.47 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <title>Web Warung Tegal</title>
  5.         <style type="text/css">
  6.         </style>
  7.         <!--[if lt IE 9]>
  8.         <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  9.         <![endif]-->
  10.     </head>
  11.     <style>
  12.         header, section, footer, aside, nav, article, figure, figcaption,img {
  13.     display: block;}
  14. body {
  15.     color: #666666;
  16.     background-color: #f9f8f6;
  17.     background-image: url("bglagi.png");
  18.     background-position: center;
  19.     font-family: Georgia, Times, serif;
  20.     line-height: 1.4em;
  21.     margin: 0px;}
  22. img {
  23.     height: 190px;
  24.     width: 290px;
  25.     object-fit:fill;
  26. }
  27. .wrapper {
  28.     width: 940px;
  29.     margin: 20px auto 20px auto;
  30.     border: 2px solid #000000;
  31.     background-color: #ffffff;}
  32. header {
  33.     height: 160px;
  34.     background-image: url(header.png);
  35.     background-size: 100%;}
  36. h1 {
  37.     width: 940px;
  38.     height: 130px;
  39.     margin: 0px 30px 0px 30px;
  40.     color:rgba(0, 0, 0, 0);}
  41. nav, footer {
  42.     clear: both;
  43.     color: #ffffff;
  44.     background-color: #aeaca8;
  45.     height: 30px;}
  46. nav ul {
  47.     margin: 0px;
  48.     padding: 5px 0px 5px 30px;}
  49. nav li {
  50.     display: inline;
  51.     margin-right: 40px;}
  52. nav li a {
  53.     color: #ffffff;}
  54. nav li a:hover, nav li a.current {
  55.     color: #000000;}
  56. section.courses {
  57.     float: left;
  58.     width: 659px;
  59.     border-right: 1px solid #eeeeee;}
  60. article {
  61.     clear: both;
  62.     overflow: auto;
  63.     width: 100%;}
  64. hgroup {
  65.     margin-top: 40px;}
  66. figure {
  67.     float: left;
  68.     width: 290px;
  69.     height: 220px;
  70.     padding: 5px;
  71.     margin: 20px;
  72.     border: 1px solid #eeeeee;}
  73. figcaption {
  74.     font-size: 90%;
  75.     text-align: center;}
  76. aside {
  77.     width: 230px;
  78.     float: left;
  79.     padding: 0px 0px 0px 20px;}
  80. aside section a {
  81.     display: block;
  82.     padding: 10px;
  83.     border-bottom: 1px solid #eeeeee;}
  84. aside section a:hover {
  85.     color: #985d6a;
  86.     background-color: #efefef;}
  87. a {
  88.     color: #de6581;
  89.     text-decoration: none;}
  90. h1, h2, h3 {
  91.     font-weight: normal;}
  92. h2 {
  93.     margin: 10px 0px 5px 0px;
  94.     padding: 0px;}
  95. h3 {
  96.     margin: 0px 0px 10px 0px;
  97.     color: #de6581;}
  98. aside h2 {
  99.     padding: 30px 0px 10px 0px;
  100.     color: #de6581;}
  101. footer {
  102.     font-size: 80%;
  103.     padding: 7px 0px 0px 20px;}
  104.     </style>
  105.     <body>
  106.         <div class="wrapper">
  107.             <header>
  108.                 <h1>Warung Tegal</h1>
  109.                  <nav>
  110.                    <ul>
  111.                    <li><a href="" class="current">beranda</a></li>
  112.                    <li><a href="">daftar masakan</a></li>
  113.                    <li><a href="">katering</a></li>
  114.                    <li><a href="">tentang</a></li>
  115.                    <li><a href="">kontak</a></li>
  116.                   </ul>
  117.                  </nav>
  118.                </header>
  119.                <section class="courses">
  120.                 <iframe width="600" height="345" src="https://www.youtube.com/embed/mTPhFUQnpAU"
  121.                title="YouTube video player" frameborder="0"
  122.                allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
  123.                style="margin: 20px;" allowfullscreen></iframe>
  124.                 <article>
  125.                   <figure>
  126.                    <img src="soto.jpg" alt="soto" />
  127.                    <figcaption>Soto Indonesia</figcaption>
  128.                   </figure>
  129.                   <hgroup>
  130.                    <h2>Soto Ayam</h2>
  131.                    <h3>Makanan Berkuah</h3>
  132.                   </hgroup>
  133.                   <p>Soto ayam adalah makanan khas Indonesia yang berupa
  134.                   sejenis sup ayam dengan kuah yang berwarna kekuningan.</p>
  135.                 </article>    
  136.                 <article>
  137.                   <figure>
  138.                    <img src="pecel.jpg" alt="pecel" />
  139.                    <figcaption>Pecel Indonesia</figcaption>
  140.                   </figure>
  141.                   <hgroup>
  142.                        <h2>Masakan Pecel</h2>
  143.                    <h3>Makanan dengan Bumbu Kacang</h3>
  144.                   </hgroup>
  145.                   <p>Pecel adalah makanan yang menggunakan bumbu sambal
  146.                   kacang sebagai bahan utamanya yang dicampur dengan aneka jenis sayuran.</p>
  147.                 </article>    
  148.                 <article>
  149.                     <figure>
  150.                      <img src="rawon.jpg" alt="pecel" />
  151.                      <figcaption>Rawon Indonesia</figcaption>
  152.                     </figure>
  153.                     <hgroup>
  154.                          <h2>Rawon Daging</h2>
  155.                      <h3>Makanan Berkuah</h3>
  156.                     </hgroup>
  157.                     <p>Rawon  merupakan  kuliner khas Jawa Timur, berupa sup daging dengan kuah berwarna hitam.
  158.                         Warna hitam dari kuah Rawon berasal dari buah kepayang atau sering disebut dengan kluwak.
  159.                     </p>
  160.                   </article>
  161.                </section>
  162.                <aside>
  163.                 <section class="popular-recipes">
  164.                  <h2>Masakan Populer</h2>
  165.                    <a href="">Sayur Sop</a>
  166.                    <a href="">Sayur Asem</a>
  167.                    <a href="">Sayur Lodeh</a>
  168.                    <a href="">Sayur Bayam</a>
  169.                 </section>
  170.                 <section class="contact-details">
  171.                  <h2>Kontak</h2>
  172.                   <p>Warung Tegal<br />
  173.                   di seluruh indonesia
  174.                 </section>
  175.               </aside>
  176.               <footer>
  177.                 &copy; 2015 Warung Tegal
  178.             </footer>
  179.         </div><!-- .wrapper -->
  180.     </body>
  181. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement