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

              
                <!-- Основные CSS свойства 3.5 -->
<h1>Что нужно знать, чтобы делать сайты</h1>
  <ol>
    <li><strong>HTML</strong></li>
    <li><em>CSS</em></li>
    <li>PHP</li>
    <li>SQL</li>
    <li>JavaScript</li>
    <li>jQuery</li>
    <li>Flash</li>
    <li>SEO</li>
  </ol>
  <h2>PHP и JavaScript</h2>
  <p>Языки программирования <strong>PHP</strong> и <strong>JavaScript</strong> позволяют сделать сайт динамичным, то есть
  реагирующим на действия пользователя. Например, можно сделать красивую выпадающую
  менюшку или слайдер</p>
  <h2>Виды скриптов</h2>
  <p>Для этого пишутся скрипты (англ.<em>script</em> - "сценарий") - программы, позволяющиее
  реагировать на двействия пользователя. Скрипты бывают двух видов:</p>
  <ul>
    <li>те, которые выполняются на сервере, а результат их выполнения приходит в браузер к
    пользователю уже в готовом виде. Это скрипты, написанные на языке <strong>PHP</strong>. На нем
    пишутся <strong>CMS-ки</strong> - системы управления контентом.</li>
    <li>те, которые выполняются прямо в браузере пользователя. Это скрипты, написанные на
    языке <strong>JavaScript.</strong> Они чаще всего используются для, того чтобы сдлелать страницу более
    удобной и красивой.</li>
  </ul>
              
            
!

CSS

              
                body {
  width: 650px;
}

p {
  width: 500px;
  text-align: justify;
  font: 12px/25px sans-serif;
}

h1 {
  text-align: center;
  color: #f00;
}

ol {
  color: #f00;
}

ol em {
  color: #00f;
}

h2 {
  color: rgb(0, 150, 0);
}

strong {
  font: bold 20px serif;
  color: #f00;
}

p strong {
  font-family: sans-serif;
}

em {
  color: #00f;
}

ul {
  width: 500px;
  font-style: italic;
  color: rgb(205, 95, 80)
}

ul strong {
  font-style: italic;
}

              
            
!

JS

              
                
              
            
!
999px

Console