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

Auto Save

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>Module 1 - Lecture 2: CIP_1101</h1>

<h#>The purpose of the heading element is to indicate different heading levels in a document</h#>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

<b>Physical elements describe the physical appearance of the characters.</b> <br>

<i> The italics element is a physical element for displaying italicized text</i> <br>

<em> emphasize </em> <br>

<var> variable </var> <br>

<dfn> definiton </dfn> <br>

<addres> address </address> <br>

<mark> element defines marked/highlighted text </mark> <br>

<del> element </del> <br>

 creates a <sup> superscript </sup> <br>

 forces text to display as <sub> subscript </sub> <br>

<code>This logical element not only displays in a courier, fixed width-font, but also indicates that the text is is a portion of a computer code </code><br>

<kbd> keyboard </kbd> <br>
<samp> sample output </samp> <br>

<u> underlined, render text with a line underneath </u> <br>
<ins> inserted text, indicateds text that has been inserted since the document was written </ins> <br>

<h1> Common HTML Entities </h1> <br>
<p>
  
<h1> &#47; - forward slash entity </h1><br>
<h1> &amp; - ampersand entity </h1> <br>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console