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

              
                <!-- Read the full post on dfn at https://jen4web.substack.com/p/dfn -->

<h1>Examples for < dfn>
</h1>

<h2>Example 1: Defining a term </h2>
<p>When dfn appears all by itself, look to its parent paragraph, < dd> element, or < section> for its definition, as shown here.</p>

<p>My son thinks he is <dfn>Godzilla</dfn>, who is generally depicted as an enormous, violent, prehistoric sea monster awakened and empowered by nuclear radiation. It's true, there are similarities.</p>

<h2>Example 2: Definition is elsewhere on the page</h2>
  
  <p>If the definition is not in the containing paragraph, section, or definition item, then you should connect the two pieces of information on the page.</p>
  
  <p>He is not as enamored with <dfn id="kong">King Kong</dfn> who resembles an enormous gorilla-like ape that has appeared in various media since 1933. </p> 

<p>Max can bore you to tears with all of the facts about these movies. He will also have serious contempt for you if you show no interest in them.</p>

<p>Complaints about <a href="#kong">Kong</a> include how he has no atomic fire breath.</p> 
  
  <h2>Example 3: Combining definitions and abbreviations</h2>
  
  <p><dfn><abbr title="Massive Unidentified Terrestrial Organism">MUTO</abbr></dfn> refers to a species of giant monsters that first appeared in <cite>Godzilla</cite> (2014) and <cite>Godzilla: King of the Monsters</cite> (2019). In <cite>Godzilla vs. Kong</cite> (2021), the enemy has changed.</p>
  
  <!-- Did y'all notice the cites in there??? Woo woo!!! -->
  
  <!-- hover your mouse over MUTO in the display pane and see how the tool tip on the abbr title shows up underneath. -->
              
            
!

CSS

              
                
body {
  font-family: Arial, sans-serif;
}

              
            
!

JS

              
                /* 

💯 This challenge is certified 100% free of JavaScript. 

ALL THE GOOD STUFF IS IN THE HTML BLOCK :-D

*/
              
            
!
999px

Console