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>
    <h1>My First HTML document..</h1>
    
    <b>body 태그</b>에는 문서의 모든 "내용"이 들어갑니다.
    
    <br/>
    <br/>
    
    <div>
      <b>division 태그</b>는
      문서의 구조를 나누는데에
      가장 일반적으로 사용되는
      <br />
      태그입니다.
    </div>
    
    <p>
      <b>paragraph 태그</b> 안에는 말 그대로 '문단'에 해당하는 내용들이 들어갑니다. <br /> 비교적 긴 텍스트나 이미지가 사용되는 내용을 감싸서, <br /> 해당 내용들이 '문단' 이라는 것을 알려주고 문서를 구조화시킵니다.
    </p>
    
    <!--
      문서 중간에 그어진 선 보이시죠?
      이걸 만들고 싶으시다면 아래의 hr(horizontal rule) 태그를 사용하면 됩니다.
    -->
    <hr>

    <div>
      <h3>HTML은 누가 만들었을까?</h3>

      <!-- 
        img(image) 태그의 src 속성에는
        "이미지의 주소" 가 들어갑니다.

         이미지의 주소는 웹에서 이미지를 우클릭 한 후
        "이미지 주소 복사" 를 누르면 얻을 수 있습니다.
      -->

      <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Tim_Berners-Lee_April_2009.jpg/170px-Tim_Berners-Lee_April_2009.jpg" />

      <br />

      <i>
        World Wide Web과 HTML의 창시자, 팀 버너스 리
      </i>
      
      <!-- a(anchor)태그의 href 속성에는 해당 태그를 클릭했을 때 연결될 문서의 주소가 들어갑니다. -->
      <p>
      팀 버너스리 경(영어: Sir Tim Berners-Lee, OM, KBE, FRS, 1955년 6월 8일 ~ )은 영국의 컴퓨터 과학자이다. 1989년 <a href="https://ko.wikipedia.org/wiki/%EC%9B%94%EB%93%9C_%EC%99%80%EC%9D%B4%EB%93%9C_%EC%9B%B9">월드 와이드 웹</a> 의 하이퍼텍스트 시스템을 고안하여 개발했다. 인터넷의 기반을 닦은 여러 공로로 웹의 아버지라고 불리는 인물 중 하나이다.
      </p>
    </div>
  </body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console