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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <p>Example of Number input Type</p>
			<p>Register Below:</p>
				<div>
				  <label for="username">Username</label><br>
				  <input type="text" id="username" name="username">
				</div>
				<div>
				  <label for="name">Full Name</label><br>
				  <input type="text" name="name" id="name">
				</div>
				<div>
				  <label for="month">Month of Birth</label><br>
				  <input type="month" name="month" id="month" max="" min="">
				</div>
				<div>
				  <label for="qualifications">How many Qualifications do you have?</label><br>
				  <input type="number" name="number" id="qualifications" step="2" max="9" min="3">
				</div>
				<input type="button" value="Register">
				<br>
<hr>
<p>Example of Password Input</p>
				<p>Register Below:</p>
				<div>
				  <label for="username">Username</label><br>
				  <input type="text" id="username" name="username">
				</div>
				<div>
				  <label for="name">Full Name</label><br>
				  <input type="text" name="name" id="name">
				</div>
				<div>
				  <label for="password">Password</label><br>
				  <input type="password" name="password" id="password" required maxlength="10" minlength="6" title="Enter a password between 6 and 10 characters">
				</div>
				<div>
					<input type="submit" name="submit" value="Apply">
				</div>
<hr>
<p>Example of Search Input type</></p>
				<form>
				  <div>
 <label for="mySearch">Search for Products</label><br>
<input type="search" id="mySearch" name="q" placeholder="Enter product ID" required size="10" pattern="[A-z]{4}[0-9]{4}" title="Enter product ID as follow: enter 4 letters followed by 4 numbers" aria-label="Search for Products using product ID">
				    <button>Search</button>
				  </div>
				</form>
              
            
!

CSS

              
                p{font-weight: bold}
              
            
!

JS

              
                
              
            
!
999px

Console