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

              
                <div style=" border-radius: 5px; background-color: #f2f2f2; padding: 20px; width: 50%">
<h2 style="font-size: 80px">Register Now.</h2>
<br>

<form accept-charset="UTF-8" action="https://formkeep.com/f/exampletoken" method="POST" target="_blank" id="weeblyform">

<!-- For detailed information check out these two sites
https://www.w3schools.com/tags/att_input_type.asp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types
-->

<!-- type="text" A single-line text field. Line-breaks are automatically removed from the input value.
placeholder="Your name..." is a great way to hint to the customer what kind of
value you're expecting in the field and will not be submitted when they submit the form.
-->
<div class='wsite-form-field'><label class='wsite-form-label'>First Name</label>
<div class="wsite-form-input-container">
<input class="wsite-form-input wsite-input wsite-input-width-200px" style="background-color: #fff" type="text" name="first_name" placeholder="John">
</div>
</div>

<div class='wsite-form-field'><label class='wsite-form-label'>Last Name</label>
<div class="wsite-form-input-container">
<input class="wsite-form-input wsite-input wsite-input-width-200px" style="background-color: #fff" type="text" name="last_name" placeholder="Smith">
</div>
</div>

<div class='wsite-form-field'><label class='wsite-form-label'>Email</label>
<div class="wsite-form-input-container">
<input class="wsite-form-input wsite-input wsite-input-width-200px" style="background-color: #fff" type="email" name="email" placeholder="john@example.com">
</div>
</div>

<!-- textarea is a multi-line plain-text editing control, useful when you want to
allow users to enter a sizeable amount of free-form text.
-->
<div class='wsite-form-field'><label class='wsite-form-label'>Subject</label>
<div class="wsite-form-input-container">
<textarea id="subject" name="subject" placeholder="Reason for contacting us" rows="5"></textarea>
</div>
</div>

<!-- force older browsers to submit your form data as UTF8. It helps ensure all submissions to your form will be encoded the same way.
See https://intercom.help/formkeep/frequently-asked-questions/why-do-you-include-the-utf8-hidden-field-in-your-example-forms
-->
<input type="hidden" name="utf8" value="✓">

<!-- There are certain names for common fields that browers will treat specially
and autofill values for the user automatically. If you can use these names for
your fields you should. See the url below for more detailed information about them
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill
"name"
"organization-title"
"organization"
"street-address"
"address-line1"
"address-line2"
"address-line3"
"address-level4"
"address-level3"
"address-level2"
"address-level1"
"country"
"country-name"
"email"
"postal-code"
"language"
"bday"
"bday-day"
"bday-month"
"bday-year"
"sex"
"tel"
"tel-extension"
"url"
-->

<button style="padding:15px; margin: 15px 0 0 0;" type="submit">SUBMIT</button>
</form>
</div>


              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console