Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ 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

              
                <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lists</title>
</head>

<body>
    <article>
        <h2>HTML Unordered list</h2>
        <ul>
            <li>Hyper is the opposite of linear. It used to be that computer programs had to move in a linear fashion.
                This before this, this before this, and so on. HTML does not hold to that pattern and allows the person
                viewing the World Wide Web page to go anywhere, any time they want.</li>
            <li>Text is what you will use. Real, honest to goodness English letters.</li>
            <li>Mark up is what you will do. You will write in plain English and then mark up what you wrote. More to
                come on that in the next Primer.</li>
            <li>Language because they needed something that started with "L" to finish HTML and Hypertext Markup Louie
                didn't flow correctly. Because it's a language, really—but the language is plain English</li>
        </ul>
    </article>
    <article>
        <h2>Reversed list</h2>
        <ol reversed>
            <li>Alt-text is not a description of an image, but a replacement for the image in case it is not displayed.</li>
            <li>An ampersand character “&” must always be escaped like this: “&” – even in URLs.</li>
            <li>Most presentation-based HTML tags are deprecated in recent versions of HTML.</li>
        </ol>
    </article>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console