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

+ 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>"Paragraph" tests</h1>
<div>
	I'm a paragraph</div>

<p>I'm also a paragraph</p>

<div>
	<p>I'm a paragraph</p>
	And so am I.
</div>

<ul>
	<li>i'm a paragraph in a list item</li>
	<li><p>as am i</p></li>
	<li><div>as am i</div></li>
	<li><address>me too</address></li>
</ul>


<details>
	<summary>Results</summary>
<div>
	<p>JAWS treats every line of text above as a paragraph which can be accessed via the <kbd>P</kbd> shortcut key.</p>
	<p>NVDA using <kbd>ctrl + down arrow</kbd> or just <kbd>down arrow</kbd> treats every line similarly. The former keys will result in NVDA navigating to the "bullet", prior to the text of the listitem/'paragraph'.  But, that's more due to the way NVDA handles navigating to block-level elements. If the styles of these elements were changed to `display: inline`, then there would be no specific stop on the bullet and then the text that follows.</p>
	<p>Narrator allows for navigating by paragraphs (<kbd>caps lock</kbd> + <kbd>control</kbd> + <kbd>up</kbd> or <kbd>down</kbd> arrow, select "paragraph" and then use <kbd>Ins</kbd> + <kbd>right</kbd> or <kbd>left</kbd> arrow).  All "paragraphs" are included when navigating by paragraphs.... even headings.  </p>
	
	<p>VoiceOver on macOS doesn't do specific navigation by paragraph (documentation says to use <kbd>VO</kbd>+<kbd>P</kbd>, but that dosn't appear to work anymore with macOS 11.6 and default VO settings?).  Rather pressing <kbd>VO</kbd> + <kbd>Command</kbd> + <kbd>P</kbd> navigates by "plain text", which includes all the examples except for the italicized content within <code>address</code>.  Get rid of that default styling though, it will be included.
</div>
</details>
              
            
!

CSS

              
                // li > * { display: inline}\

// address { font-style: inherit; }
              
            
!

JS

              
                
              
            
!
999px

Console