Pen Settings



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


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


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.


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.


 * @Author: shisuiyi
 * @Date: 2023-04-16 15:10:32
 * @LastEditors: shisuiyi
 * @LastEditTime: 2023-04-18 20:10:48
 * @FilePath: \web_base\lesson02.html
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <div id="section1">我们&nbsp;&nbsp;&nbsp;之间有好多空格&nbsp;</div>
    <ul type="disc">
        <li >Second</li>
    <ul type="circle">
        <li >Second</li>
    <ol start="3" type="a">
    <ol start="3" type="i">
    <a href="" target="_blank">
        <img src="" alt="Example Image" title="This is an example image"  width="500" height="300">
    <a href="#section1">跳转到 Section 1</a>
        <form action="" method="get">
            choose your favourite fruit!
        <input type="radio" id="apple" name="fruit" value="apple">
        <label for="apple">苹果</label><br>
        <input type="radio" id="banana" name="fruit" value="banana" checked="checked">
        <label for="banana">香蕉</label><br>
        <input type="radio" id="orange" name="fruit" value="orange">
        <label for="orange">橙子</label><br>
        <input type="radio" id="grape" name="fruit" value="grape">
        <label for="grape">葡萄</label><br>
        <input type="checkbox" id="apple" name="fruit[]" value="apple">
        <label for="apple">苹果</label><br>
        <input type="checkbox" id="banana" name="fruit[]" value="banana">
        <label for="banana">香蕉</label><br>
        <input type="checkbox" id="orange" name="fruit[]" value="orange">
        <label for="orange">橙子</label><br>
        <input type="checkbox" id="grape" name="fruit[]" value="grape">
        <label for="grape">葡萄</label><br>
        <label for="fruits">请选择您喜欢的水果:</label>
        <select id="fruits" name="fruit">
            <option value="">请选择</option>
            <option value="apple">苹果</option>
            <option value="banana">香蕉</option>
            <option value="orange">橙子</option>
            <option value="grape">葡萄</option>

        <input type="submit"></input>