Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
<html>
<head>
<style>
* {
  box-sizing: border-box;
}


.column {
  float: left;
  padding: 15px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.menu {
  width: 25%;
}

.content {
  width: 75%;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 8px;
  background-color: #33b5e5;
  color: #ffffff;
}

.menu li:hover {
  background-color: #0099cc;
}
</style>
</head>
<body>

<div style="background-color: #4CAF50;color: white;padding: 15px;">
  <h1>Header Website</h1>
</div>

  <div style="float: left;padding: 15px; width: 25%; background: #f1f1f1;">
    <ul>
      <li>Beranda</li>
      <li>Gallery Foto</li>
      <li>Download</li>
      <li>Hubungi Kami</li>
    </ul>
  </div>

  <div style="float: left;padding: 15px; width: 75%; background: #fff;">
    <h1>Belajar Templating Menggunakan DIV HTML</h1>
    <p>pada templating kali ini kita masih menggunakan HTML namun dibantu dengan atribut style, dan membuat tampilan menjadi seperti web sungguhan, untuk mendapatkan hasil yang lebih baik, kedepannya kita akan belajar HTML dan CSS</p>
  </div>
<div style="clear:both;display: block;"></div>

<div  style="background-color: #4CAF50;color: white;padding: 15px; text-align:center;">
  <p>Supperted by FR-ACADEMY. Copyright &copy; 2019. All Right Reserved</p>
</div>

</body>
</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console