akbarbasya26

Belajar HTML

Nov 25th, 2019
148
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <script>
  4.     alert("ngeTEH")
  5.     alert("SLURR")
  6. </script>
  7. <head>
  8.     <body background="https://media.suara.com/pictures/653x366/2019/08/29/60673-ilustrasi-kucing-pixabaysusannp4.jpg">
  9.     <title>Belajar HTML</title>
  10.     <style type="text/css">
  11.    
  12.     </style>
  13.     <script type="text/javascript"></script>
  14.     <link rel="stylesheet" type="text/css" href="core.css">?
  15. </head>
  16. <body>
  17.     <h1>Halo UghTEA<center></center></h1>
  18.     <p> Semangat belajar di <b>CORE HIMTI</b></p>
  19.     <h4>Halo saya Heading 4</h4>
  20.  
  21.     <a href="https://wwww.kemdikbud.go.id/main/">
  22.         <img src="https://media.neliti.com/media/organisations/logo-None-kemdikbud.png" height="200" width="200">
  23.     </a>
  24.  
  25.     <h1>Belajar atribute HTML</h1>
  26.     <p style="color: blue"><strong>tulisan ini</strong> pake atribut yang bernama strong dengan nilai color: blue</p>
  27.  
  28.     <h1>Belajar membuat tabel</h1>
  29.     <table style="width: 50%" border= "5px solid">
  30.         <tr>
  31.             <th style="text-align: center">Nama Depan</th>
  32.             <th style="text-align: center">Nama Belakang</th>
  33.             <th style="text-align: center">Hobi</th>
  34.         </tr>
  35.         <tr style="text-align: center">
  36.             <td>Fulan</td>
  37.             <td>bin fulan</td>
  38.             <td>Makan</td>
  39.         </tr>
  40. </body>
  41. </html>
  42.  
  43.  
  44.  
  45. //css
  46. p {
  47.     color: green;
  48.     font-size: 45px;
  49.     font-family: arial;
  50. }
  51. html {
  52.   background: url("https://media.suara.com/pictures/653x366/2019/08/29/60673-ilustrasi-kucing-pixabaysusannp4.jpg") no-repeat center center fixed;
  53.   -webkit-background-size: cover;
  54.   -moz-background-size: cover;
  55.   -o-background-size: cover;
  56.   background-size: cover;
  57. }
RAW Paste Data