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 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

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

              
                
<h1  class = "text-center red-text">ELON MUSK<h1>
  
<img class= "smaller-image image-center" src="https://az616578.vo.msecnd.net/files/responsive/cover/main/desktop/2016/07/02/636030757259556361-1129479309_elon-musk.jpg" alt= "Elon musk photo"></img> 
  
<p>Elon Reeve Musk (/ˈiːlɒn ˈmʌsk/; born June 28, 1971) is a South African-born Canadian-American business magnate, investor, engineer and inventor.

He is the founder, CEO, and CTO of SpaceX; co-founder, CEO, and product architect of Tesla Motors; co-founder and chairman of SolarCity; co-chairman of OpenAI; co-founder of Zip2; and founder of X.com which merged with PayPal of Confinity. As of June 2016, he has an estimated net worth of US$12.7 billion, making him the 83rd wealthiest person in the world.[21]

Musk has stated that the goals of SolarCity, Tesla Motors, and SpaceX revolve around his vision to change the world and humanity.[22] His goals include reducing global warming through sustainable energy production and consumption, and reducing the "risk of human extinction" by "making life multiplanetary" by setting up a human colony on Mars.

In addition to his primary business pursuits, he has also envisioned a high-speed transportation system known as the Hyperloop, and has proposed a VTOL supersonic jet aircraft with electric fan propulsion, known as the Musk electric jet.</p>
  
  <p>This is a list of all elon's company's</p>
  <ul>
    <li>paypal</li>
    <li>Space-X</li>
    <li>Tesla</li>
    <li>zip2</li>
    <li>x.com</li>
    <li>solarcity</li>
    <li>openAI</li>
    <li>Hyperloop</li>
  </ul>
  
  <p>Click <a href= "https://en.wikipedia.org/wiki/Elon_Musk" target= "blank">here to view more about elon musk</a>
              
            
!

CSS

              
                body {
  background-color:lightblue;
}
h1 {
 font-family:lobster, monospace;
  
}
.red-text {
  color:red;
}

.smaller-image {
  width:600px;
  hieght:800px;
}
p {
  font-family:monospace;
  font-size:20px;
}
ul{
  font-size:20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console