css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <header>
		<h1>月亮和六便士</h1>
			 <nav>
			<a href="#">面纱</a>
			<a href="#">你只是看起来很努力</a>
			<a href="#">人类群星闪耀时</a>
			<a href="#">红楼梦</a>
			 </nav>
	</header>
    <div>
    	<section>
    		<h2>第一章</h2>
	    		<section>
	    			<h2>我对斯特里克兰的认识</h2>
	    			<address>作者:威廉-萨默塞特-毛姆&nbsp;&nbsp;&nbsp;发布时间:<time>2017-2-27</time></address>
	    			
	    				<p>这是一个很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长<a href="#">www.baidu.com</a>很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长很长的段落。</p>
	    				<figure>
	    					<img src="figure.jpg" />
	    				</figure>
	    				<p>
	    				这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长的段落。	
	    				</p>
	    				<p>
	    				这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长的段落。	
	    				</p>
	    			
	    		</section>
    	</section>
    	<section>
    		<h2>第二章</h2>
    		    <section>
    		    	<h2>我所生活的环境</h2>
    		    	<address>作者:威廉-萨默塞特-毛姆&nbsp;&nbsp;&nbsp;发布时间:<time>2017-2-27</time></address>
    		    	
    		    		<p>
    		    			这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长这是一个很长很长很长很长很长很长很长很长很长很长的段落。
    		    		</p>
    		    		<figure>
    		    			<img src="figure.jpg" />
    		    		</figure>
    		    		<ul>
    		    			<li>1</li>
    		    			<li>2</li>
    		    			<li>3</li>
    		    		</ul>
    		    	
    		    </section>
    		    <section>
    		    	<h2>图片</h2>
    		    	<figure>
					   <figcaption>好看的图片啊</figcaption>
	    		    		<img src="figure.jpg.jpg" />
    		    	</figure>
    		    	<figure>
					   <figcaption>好看的图片啊</figcaption>
	    		    		<img src="figure.jpg" />
    		    	</figure>
    		    	<figure>
					   <figcaption>好看的图片啊</figcaption>
	    		    		<img src="figure.jpg" />
    		    	</figure>
    		    	<figure>
					   <figcaption>好看的图片啊</figcaption>
	    		    		<img src="figure.jpg" />
    		    	</figure>
    		    </section>
    	</section>
    	<section>
    		<h2>第三章</h2>
    		<section>
    			<h2>和情人私奔到巴黎的斯里特克兰</h2>
    			<address>
    				作者:威廉-萨默塞特-毛姆&nbsp;&nbsp;&nbsp;发布时间:<time>2017-2-27</time>
    				
    					<ol>
    						<li>A</li>
    						<li>B</li>
    						<li>C</li>
						</ol>
    						<table border="1" cellspacing="3" cellpadding="10">
    						<caption>这是一个表格!</caption>
    							<tr>
    								<td>1</td>
    								<td>2</td>
    								<td>3</td>
    							</tr>
    							<tr>
    								<td>1</td>
    								<td>2</td>
    								<td>3</td>
    							</tr>
    							<tr>
    								<td>1</td>
    								<td>2</td>
    								<td>3</td>
    							</tr>
    						</table>
    					<aside>
    						<h2>标题</h2>
    						<section>
    							<h2>入口标题</h2>
    							Email:<input type="text" name="email" placeholder="输入Email" />
    							<br>
    							<span> 邮箱地址按要求格式输入</span>
    							<br>
    							请输入密码:<input type="password" name="pwd" />&nbsp;&nbsp;
    							请在次输入密码:<input type="password" name="pwdOnece" /> br
    							<br>
    							<span>密码长度在6-12位数字</span>
    							<br>
    							性别:&nbsp;<input type="checkbox" name="men"/>男&nbsp;<input type="checkbox" name="women">女&nbsp;&nbsp;
    							城市:<select>
    								<option value="长沙">长沙</option>
    								<option value="上海">上海</option>
    								<option value="北京">北京</option>
		    						  </select>
		    				    &nbsp;&nbsp;
		    				    运动:<input type="radio" name="sport"/>&nbsp;&nbsp;
		    				    艺术:<input type="radio" name="art" />&nbsp;&nbsp;
		    				    科学:<input type="radio" name="science" />&nbsp;&nbsp;
		    				    个人描述:<textarea rows="3" cols="7"></textarea><input type="submit" name="sub" value="提交" />
    						</section>	
    					</aside>
    				
    			</address>
    		</section>
    	</section>
    </div>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console