SHARE
TWEET

Untitled

triyanna Aug 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>CSS pada Image (Triyanna XI RPL 2)</title>
  5.     <style type="text/css">
  6.         img.mouse {
  7.             margin-top: 10px;
  8.             float: left;
  9.             clear: both;
  10.             width: 200px;
  11.             height: 200px;
  12.         }
  13.         img.cat {
  14.             margin-top: 5px;
  15.             float: right;
  16.             clear: both;
  17.             width: 200px;
  18.             height: 200px;
  19.             border: solid;
  20.             border-color: pink;
  21.         }
  22.         img.koa{
  23.             margin-top: 10px;
  24.             float: right;
  25.             clear: both;
  26.             width: 200px;
  27.             height: 200px;
  28.         }
  29.     </style>
  30. </head>
  31. <body>
  32.     <h1>Contoh embedded CSS pada gambar</h1>
  33.     <img class="mouse" src="gambar/tikus.jpg">
  34.     <img class="cat" src="gambar/kucing.jpg">
  35.     <img class="koa" src="gambar/koala.jpg">
  36. </body>
  37. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top