Pen Settings



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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.




<h1 id="main"></h1>
<h2 id="title">Person who never died!</h2>
<h3 id="img-div"> </h3>
<img class="image-responsive" src="" alt="Mahatma Gandhi wrapped with culture">
<figcaption id="img-caption"> <strong>Mahatma Gandhi</strong> </figcaption>
<li>He was born on 2<sup>nd</sup> October 1869 in Gujarat.</li>
<li>His full name is Mohandas Karamchand Gandhi.</li>
<li>He was a Lawyer, anti-colonial nationalist and political ethicist.</li>
<li><strong>"Father of Nation"</strong> proverb was used to define him in India.</li>
<li>He launched <u>Khadi Movement</u> to encourage the use of handspun fibers like jute.</li>
<li>World wide hes birthday is known as 'International Day of Non-violance' because of his faithful contribution towards history.</li>
<li>He led many movements like Non-coperation movement, Quit India Movement, Indian Independence Movement, Champaran Movement, Salt Satyagraha Movement, etc.</li>
<li> His death was caused due to assassination on 30<sup>th</sup> January 1948.</li>
<p>Strength does not come from physical capacity. It comes from an indomitable will. <em>- Mahatma Gandhi</em></p>
<a id="tribute-link" for more info on Mahatma gandhi,  check out this article, href="" target="_blank">Wikipedia entry</a>
.img-responsive {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
#main {
#title {
  font-family: sans-serif;
  font-size: 120px;
  font-weight: 800;
  background-color: pink;
  text-transform: uppercase;
#img-div {
  width: 200px;
  border-color: cyan;
  border-width: 5px;
  border-style: solid;
  border-radius: 30%;
#img-caption {
  text-align: center;
  font-family: monospace;
#tribute-link {
 color:  rgba(45,45,45,0.1);
  font-size: 27px;
  text-transform: capitalize;
<footer>If you are amazed checkout more about him.</footer>