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

              
                <html>
  <body>
    <!--

      해보세요 ✅

      아래의 p태그로 감싸진 텍스트(Lorem Ipsum is ...)가 보이시나요?

      지금 작성된 HTML코드 내부에서는 문장이 끝날때마다 엔터키로 줄을 바꾸어서 문단을 나누어 주었음에도, 실제로 보여지는 HTML 문서에서는 동일한 줄바꿈이 적용되어 있지 않은 것을 발견할 수 있습니다.

      이럴 때 br 태그를 사용할 수 있습니다. 문장과 문장 사이에 br 태그를 추가해서 문장들을 적절하게 줄바꿈 해주세요!

      (br 태그를 연속으로 2개 이상 추가하면 어떤 일이 일어날까요?)

    -->
    <p>
      Lorem Ipsum is simply dummy text of the printing and typesetting industry.
    
      Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
    
      It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.
    
      It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    </p>
  </body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console