HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
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.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<p>The American rock singer-songwriter Bruce Springsteen has released 21 studio albums, 121 live albums, 77 singles, and 66 music videos. Referred to as “The Boss” by the media, Springsteen is one of the best-selling music artists in history with over 150 million records sold as of December 2021. Billboard ranked him as the 24th Greatest Artist of all time. According to Recording Industry Association of America, he has sold 65.5 million albums in the United States, making him the 7th best-selling male soloist of all time. <i>Born in the U.S.A.</i> remains the best-selling album of his career, selling more than 30 million copies around the world.</p>
<table typeof="MusicGroup" vocab="http://schema.org/">
<caption><span property="name">Bruce Springsteen</span>’s studio albums</caption>
<thead>
<tr>
<th>title</th>
<th>release date</th>
</tr>
</thead>
<tbody>
<tr property="album" typeof="MusicAlbum">
<td property="name">Greetings from Asbury Park, N.J.</td>
<td><time property="datePublished">1973-01-05</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">The Wild, the Innocent & the E Street Shuffle</td>
<td><time xproperty="datePublished">1973-09-11</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Born to Run</td>
<td><time property="datePublished">1975-08-25</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Darkness on the Edge of Town</td>
<td><time property="datePublished">1978-06-02</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">The River</td>
<td><time property="datePublished">1980-10-10</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Nebraska</td>
<td><time property="datePublished">1982-09-20</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Born in the U.S.A.</td>
<td><time property="datePublished">1984-06-04</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Tunnel of Love</td>
<td><time property="datePublished">1987-10-09</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Human Touch</td>
<td><time property="datePublished">1992-03-31</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Lucky Town</td>
<td><time property="datePublished">1992-03-31</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">The Ghost of Tom Joad</td>
<td><time property="datePublished">1995-11-21</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">The Rising</td>
<td><time property="datePublished">2002-07-30</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Devils & Dust</td>
<td><time property="datePublished">2005-04-26</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">We Shall Overcome: The Seeger Sessions</td>
<td><time property="datePublished">2006-04-25</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Magic</td>
<td><time property="datePublished">2007-09-25</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Working on a Dream</td>
<td><time property="datePublished">2009-01-27</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Wrecking Ball</td>
<td><time property="datePublished">2012-03-06</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">High Hopes</td>
<td><time property="datePublished">2014-01-14</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Western Stars</td>
<td><time property="datePublished">2019-06-14</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Letter to You</td>
<td><time property="datePublished">2020-10-23</time></td>
</tr>
<tr property="album" typeof="MusicAlbum">
<td property="name">Only the Strong Survive</td>
<td><time property="datePublished">2022-11-11</time></td>
</tr>
</tbody>
</table>
<p>Springsteen has released records steadily since 1973, and is widely known for his brand of heartland rock infused with pop hooks, poetic lyrics, and American culture sentiments centered on his native New Jersey. The E Street Band has been Springsteen’s primary backing band since 1972 and has appeared on a majority of his studio albums and live releases. Springsteen also released one studio and live album with the Sessions Band.</p>
<p>Springsteen’s recordings have tended to alternate between commercially accessible rock albums and somber folk-oriented works. His most commercially successful period occurred between 1975’s <i>Born to Run</i> and 1987’s <i>Tunnel of Love</i>. 1984’s <i>Born in the U.S.A.</i> launched Springsteen into superstardom and the album went on to become one of the biggest selling albums of all time. It produced seven top-10 hit singles, tied for the most ever with Michael Jackson’s <i>Thriller</i> and Janet Jackson’s <i>Rhythm Nation 1814</i>. Springsteen has steadily maintained a loyal audience since his 80s success and experienced a renewed commercial strength since 2002’s <i>The Rising</i>, the first in a string of consecutive successful albums following a 1999 reunion with the E Street Band with whom he parted ways in 1989. 2014’s <i>High Hopes</i> was Springsteen’s eleventh No. 1 album placing him at third all-time for most No. 1 albums ever trailing only Jay-Z (13) and the Beatles (19). He achieved his eleventh No. 1 album in the UK with his next release, 2019’s <i>Western Stars</i>, which saw him join Elvis Presley, David Bowie and Robbie Williams on eleven UK No. 1s, trailing only Madonna (12) and the Beatles (15). In October 2019, Springsteen released a theatrical film for <i>Western Stars</i> which marked his directorial debut. The film was accompanied by the <i>Western Stars – Songs from the Film</i> soundtrack. Springsteen’s twenty-first and latest album, <i>Only the Strong Survive</i>, was released in 2022.</p>
<p>Overall, Springsteen has released 21 studio albums, 77 singles, 8 extended plays, 121 live albums, 9 box sets, 8 compilation albums, 2 soundtracks, 66 music videos and 31 home videos. In 2014, Springsteen opened the <i>Bruce Springsteen Archives</i> and announced that he will release various shows from his past that have been digitally restored and remastered and, unlike the bootleg releases, officially endorsed by Springsteen himself.</p>
<footer>From Wikipedia, the free encyclopedia</footer>
html
{
font: 1.2em/1.4 Calibri;
}
body
{
max-width: 25em;
}
table
{
border-collapse: collapse;
line-height: 1;
}
thead
/*
hadn’t work in older Chromium versions, but had worked for `thead th`
works in current versions
*/
{
position: -webkit-sticky;
position: sticky;
top: 0;
background: white;
}
th, td
{
vertical-align: top;
text-align: start;
padding: 0.3em 0;
}
thead th
{
vertical-align: bottom;
padding-bottom: 0;
}
thead th:after
{
content: '';
display: block;
padding-bottom: 0.3em;
border-bottom: thin solid silver;
}
th:last-child,
td:last-child
{
text-align: end;
}
td:not(:first-child)
{
padding-left: 2em;
}
Also see: Tab Triggers