Advertisement
rezamalik15

HTML - Iframe

Mar 21st, 2023
811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.45 KB | None | 0 0
  1. <!doctype html>
  2. <html lang="en">
  3.     <head>
  4.         <title>Simple Web Layout</title>
  5.         <style type="text/css">
  6.             body{
  7.                 font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  8.             }
  9.  
  10.             header{
  11.                 background-color: #AA77FF;
  12.                 padding: 10px;
  13.             }
  14.  
  15.             li a{
  16.                 color: white;
  17.                 text-decoration: none;
  18.             }
  19.  
  20.             li a:hover{
  21.                 background-color: white;
  22.                 color: black;
  23.             }
  24.  
  25.             #content{
  26.                 background-color: #C9EEFF;
  27.                 padding: 10px;
  28.             }
  29.  
  30.             .article-title{
  31.                 color: #AA77FF;
  32.             }
  33.  
  34.             footer{
  35.                 background-color: #62CDFF;
  36.                 padding: 10px;
  37.             }
  38.  
  39.             #author{
  40.                 font-size: 35px;
  41.             }
  42.  
  43.         </style>
  44.     </head>
  45.     <body>
  46.         <header>
  47.             <nav>
  48.                 <ul>
  49.                     <li><a href="">Home</a></li>
  50.                     <li><a href="">About Me</a></li>
  51.                 </ul>
  52.             </nav>
  53.         </header>
  54.         <section id="content">
  55.             <article>
  56.                 <h2 class="article-title">Learh HTML</h2>
  57.                 <p>HTML is the standard markup language for Web pages. With HTML you can create your own Website.</p>
  58.                 <iframe src="https://id.wikipedia.org/wiki/HTML" frameborder="1"></iframe>
  59.             </article>
  60.             <article>
  61.                 <h2 class="article-title">Learn CSS</h2>
  62.                 <p>CSS is the language we use to style an HTML document. CSS describes how HTML elements should be displayed.</p>
  63.             </article>
  64.         </section>
  65.         <footer>
  66.             <p id="author">Author: Jaka Antara</p>
  67.             <p>
  68.                 <a href="mailto:jaka@website.com">
  69.                     jaka@website.com
  70.                 </a>
  71.             </p>
  72.         </footer>
  73.     </body>
  74. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement