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.


                <!doctype html>
<html lang="en">
    <link href="" rel="stylesheet">
    <link href="" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="style2.css">
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
    <div id="main" class="container-flux">
    <header class="header">
        <h1 class="headerBig">Freddie Mercury</h1>
        <h2>&nbsp;mad man in the best sense possible.</h2>
    <div id="img-div">
        <img id="image" src="" alt="Image of Freddie Mercury at age 33 goes here" >
        <p id="img-caption">Freddie Mercury at age 33</p>
        <header id="tribute-info">Here's an overview of Freddie Mercury's life:</header>
        <ul id="list">
                <li><b>1946</b> - Born September 5 on the East African island of Zanzibar as Farrokh Bulsara</li>
                <li><b>1953</b> - Freddie started taking piano lessons</li>
                <li><b>1954</b> - Moved to Panchgani, India to enter boarding school</li>
                <li><b>1958</b> - Started his first school band, The Hectics</li>
                <li><b>1963</b> - Moved back to his parents in Zanzibar</li>
                <li><b>1964</b> - The Bulsara family fled Zanzibar due to a revolution, and moved to Feltham, Middlesex, England</li>
                <li><b>1966</b> - Freddie entered the London based Ealing College of Art</li>
                <li><b>1968</b> - Freddie made friends with Brian May and Roger Taylor of the band Smile, through another Ealing Art student and Smile basss player Tim Staffell</li>
                <li><b>1969</b> - He left Ealing College with a diploma in graphic art and design and became singer for London band Ibex (later that year called Wreckage). Late that year Ibex ended and Freddie joined Sour Milk Sea</li>
                <li><b>1970</b> - Tim Staffell parted with Smile. Freddie joined the band and renamed it Queen</li>
                <li><b>1971</b> - John Deacon joined Queen and they started recording their first album</li>
                <li><b>1973</b> - Freddie released his first solo single under the pseudonym Larry Lurex</li>
                <li><b>1979</b> - He performed with the Royal Ballet</li>
                <li><b>1984</b> - Freddie contributed the song Love Kills to the new soundtrack of 1929 movie Metropolis. The song was written by Freddie and Giorgio Moroder</li>
                <li><b>1985</b> - First solo album Mr. Bad Guy released</li>
                <li><b>1987</b> - Freddie discovered that he was contracted with HIV</li>
                <li><b>1988</b> - Mercury released an album with opera singer Montserrat Caballé, called Barcelona</li>
                <li><b>1991</b> - November 24 Freddie Mercury died of Aids-related bronchial pneumonia.</li>
    <!-- Freddie's solo discography  -->
    <section class="discography">
    <h4 class="header">Freddie Mercury solo discography - click on a record to listen</h4>
    <div class="records">
    <!-- image item #1  -->
        <figure class="img-item">
            <a href="" target="_blank"><img src="" alt="Mr.BAD GUY ">
            <figcaption class="img-description">
                <p>1988 Mr.BAD GUY</p>	
        <!-- image item #2  -->

        <figure class="img-item">
            <a href="" target="_blank"><img src="" alt="Y ahora qué?">
            <figcaption class="img-description">
                <p>1988 Barcelona</p>	

            <p class="aside">If you have time, you should read more about this incredible human being on his  <a id="tribute-link" href="" target="_blank">wikipedia entry</a>.</p>
        <p>Copyright 2019 PM</p>


                html, body {
    max-width: 800px;
    min-width: 360px;
    margin-left: auto;
    margin-right: auto;
body {
    padding: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 5%;

.header {
    font-family: 'Oswald';
    text-align: center;
    font-size: 13pt;
img {
    max-width: 100%;
    display: block;
    height: auto;
#img-caption {
    text-align: center;
.img-description {
    font-size: 1em;
    color: red;
.img-item {
    max-width: 300px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;

li {
    font-family: 'EB Garamond'
footer {
    font-family: 'EB Garamond';
    text-align: right;
    font-size: 0.7em;