Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

Save Automatically?

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 html5>
<html5>
    <h1 id="title">
    BTS
  </h1>
 
<main id="main">

  <div id="img-div">
    <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS5sTesycQ51XqV7Gv4lyZORcxoL_2BRg_g0Y2TLSuZE7k8TrBWgA" id="image" alt="bts">
    <body>
    <p id="image-caption" >
      from the left: Jin/V/Jungkook/Suga/RM/Jimin/J-hope
    </p>
    </div>
    <p id="tribute-info">
      BTS (Korean: 방탄소년단; RR: Bangtan Sonyeondan), also known as the Bangtan Boys, is a seven-member South Korean boy band formed in Seoul in 2013. The septet co-writes and produces much of their output. Originally a hip hop group, their musical style has evolved to include a wide range of genres. Their lyrics, often focused on personal and social commentary, touch on the themes of mental health, troubles of school-age youth, loss, the journey towards loving oneself, and individualism. Their work features references to literature and psychological concepts and includes an alternative universe storyline. Popular for their live performances, the group have staged several world tours.
    </p>
    <a href="https://en.wikipedia.org/wiki/BTS_(band)" id="tribute-link" target="blank">
     Watch their success from wikipedia
    </a>
    
  </main>
    </body>
  </html5>
              
            
!

CSS

              
                <style>

body{
   margin: auto;
 background-image: url(data:image/jpeg;base64,/9j/4AAQSk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7YprNdhf0+My5JKhyWzHcc+0FrrCeh9JVYrGb+Lm7VRC+Up2Si64bqjn0b2Zo5OD/AOk7Z6IcfNZN/MbTYBbvf0i+3Df8hDqsdaS4+S522uvmNYAAAAAAAAAAAAAAAAAADQa46q06SqrpunbXGu1Wp0uCk3uyjk95Ph5zLOLlvHdxDPCZzVVH+pXAf4jGftUf9C/+sz+0V/0+P3XPVTVjDaPqdNCl50t+yyx71lksss5P+S4FHJyZZ3dW44TGajdFaQBrNZNDxxmGvwkpyrjdFRc4JOUcpKWaz4dBPjz7Mpl9nMpuaafUXUivRnlHJ3WXcvyefKqC3dze5t3vfuLObnvJrc1pHDCYrWUJgEHTWiqcXRbhb479Vsd2SzyfPmpJ9DTSafYSxyuN3HLNuZy2FYXN5Y3FJdGcaW8vtyNP9Xl9kPpRedS9UMNoyqVNG/OVkt+221p2WNLJZ5JJJdCXW+so5OS53dSxxk8LCVpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf/2Q==);
  
}
#img-div{ text-align: center;
}
h1 { background-color: #cc99ff;
   text-align : center;
 
  
}
#link{text-align: center;
}
#img-div img{ display: inline-block;
}
#tribute-link {text-align: center;}
</style>
              
            
!

JS

              
                
              
            
!
999px

Console