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.

            
              <!-- IT Diamond Prototype-->
<!doctype html>
<html lang="en">

<head>
  <title>Prototype HTML Document</title>
  <meta charset="UTF-8" />
  <meta name="description" content="This is a short descriptive blurb about the site content and purpose" />
  <!-- Support Responsive Viewports -->
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <link rel="stylesheet" href="assets/css/screen.css" type="text/css" />
</head>

<body>
  <div id="container">
    <div id="header">
  <h1>Prototype HTML Document Example</h1>
  <!--(Document Title)-->
    </div><!--#header-->
  <div id="content">  
  <h2>Properly Marking up an HTML Document</h2>
  <!-- (Primary Content Heading)-->
<!--
<form action="" method="get">
  <fieldset>
    <legend>Personal Information</legend>
    <label for="name">Name:</label><input type="text" id="name"/>
    <label for="email">Email:</label><input type="email" id="email"/>
    <label for="message">Message:</label><textarea id="message">    </textarea>
    <label for="color">Favorite Color:</label>
    <select id="color">
      <option value="R">Red</option>
      <option value="G">Green</option>
      <option value="B">Blue</option>
      <option value="" selected>Select Color:</option>
    </select>
    <input type="submit" value="Take me to your leader"/>
  </fieldset>
</form>  
  -->
  
  
  
  <p>This is a paragraph. <q>Often times designers</q> will use "Dummy Text" as a placeholder in a document. <em>An example</em> <strong>of that text follows</strong>...Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <del>Praesent volutpat velit sed massa</del>. In volutpat eros sagittis
    ipsum. Donec fringilla risus nec nunc. Fusce tellus arcu, blandit quis, posuere in, porta vitae, lorem. Quisque feugiat arcu eget sapien. Aenean eget ipsum id arcu bibendum porttitor. Vivamus id lectus non eros eleifend aliquet. Cum sociis natoque
    penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris volutpat. Integer dignissim consequat enim. Praesent velit felis, tempus malesuada, sagittis et, condimentum in, ante. Nulla lobortis, ligula sit amet laoreet sollicitudin,
    sem arcu lacinia tellus, id lobortis arcu urna tincidunt turpis.<sup>SuperScript</sup> </p>

  <h3 id="subsection">This is a Subsection of the Primary Content</h3>
  <!-- (Subsection I)-->

  <img class="img-left" src="http://ualr.edu/tswallace/assets/images/eit.jpg" alt="EIT Logo" />
  
  <p>This is a paragraph. Often times designers will use "Dummy Text" as a placeholder in a document. An example of that text follows...Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent volutpat velit sed massa. In volutpat eros sagittis
    ipsum. Donec fringilla risus nec nunc. Fusce tellus arcu, blandit quis, posuere in, porta vitae, lorem. Quisque feugiat arcu eget sapien. Aenean eget ipsum id arcu bibendum porttitor. Vivamus id lectus non eros eleifend aliquet. Cum sociis natoque
    penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris volutpat. Integer dignissim consequat enim. Praesent velit felis, tempus malesuada, sagittis et, condimentum in, ante. Nulla lobortis, ligula sit amet laoreet sollicitudin,
    sem arcu lacinia tellus, id lobortis arcu urna tincidunt turpis. </p>
  
  <hr />
  
 <address>
   Thomas Wallace<br>
   2801 University<br />
   Little Rock, Ar, 72207<br />
 </address>
  <hr />

  <!--This is a list of instructions.-->

  <ol>
    <li>Instruction</li>
    <li>Instruction
      <ul>
        <li>Ramen</li>
        <li>Cheetos</li>
        <li>Jolt</li>
        <li>Bread</li>
      </ul>
    </li>
    <li>Instruction</li>
    <li>Instruction</li>
    <li>Instruction</li>
  </ol>

  <!--This is a list of items to purchase at the grocery store.-->
  <ul>
    <li>Ramen</li>
    <li>Cheetos</li>
    <li>Jolt</li>
    <li>Bread</li>
  </ul>

  <!--This is an Example of how we should mark up a term and its description(s)-->

  <dl>
    <dt>Term</dt>
    <dd>Description 1</dd>
    <dd>Description 2</dd>
    <dd>Description 3</dd>
    <dt>Term</dt>
    <dd>Description 1</dd>
    <dd>Description 2</dd>
    <dt>Term</dt>
    <dd>Description 1</dd>
    <dt>Term</dt>
    <dd>Description 1</dd>
    <dd>Description 2</dd>
  </dl>

  <h4>This is a Subsection of Subsection I</h4> 

<blockquote>Content precedes design. Design in the absence of content is not design, it's decoration. <cite>From Designing with Web Standards by Jeffery Zeldman.</cite> </blockquote>
  
  <h3>This is a Subsection of the Primary Content</h3> <!--(Subsection
  II)--> 
  
    <table>
    <caption>Grocery List</caption>
    <tr><th scope="col">Item</th><th scope="col">Quantity</th><th scope="col">Cost</th></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
       <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
       <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
    <tr><td>Jolt</td><td>12</td><td>1.99</td></tr>
  </table>  
  
  <p>This is a paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent volutpat velit sed massa. In volutpat eros sagittis ipsum. Donec fringilla risus nec nunc. Fusce tellus arcu, blandit quis, posuere in, porta vitae, lorem. Quisque
  feugiat arcu eget sapien. Aenean eget ipsum id arcu bibendum porttitor. Vivamus id lectus non eros eleifend aliquet. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Mauris volutpat. Integer dignissim consequat enim.
  Praesent velit felis, tempus malesuada, sagittis et, condimentum in, ante. Nulla lobortis, ligula sit amet laoreet sollicitudin, sem arcu lacinia tellus, id lobortis arcu urna tincidunt turpis. Proin adipiscing ultrices dui. Duis porttitor, libero ut
  eleifend pellentesque, risus turpis fermentum est, vel nonummy lorem est id nisl. Nulla facilisi. In sagittis tortor. Vestibulum dictum leo vitae augue. Morbi in odio sed nulla luctus sodales.</p>
    </div><!--#content--> 
<!--This is the Navigation for the Page-->
<aside>
<div id="navigation">
<ul id="main-nav">  
  <li><a href="index.html" title="This is a title attribute">Home (Relative Link)</a></li>
  <li><a href="http://ualr.edu">About (Absolute Link)</a></li>
  <li><a href="#subsection">Services</a></li>
  <li><a href="mailto:tswallace@ualr.edu">Contact</a></li>
</ul>
    </div><!--#navigation-->
</aside>    
    <div id="footer">
<h6>&copy; 2017 Thomas Wallace</h6>
    </div><!--#footer-->
  </div><!--#container-->
</body>

</html>
            
          
!
            
              /* Universal Reset */
*, *:before, *:after {
  box-sizing: border-box;
  margin:0;
  padding:0;
}

body{
    background-color:#2C3E50;
    font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
    font-size:100%;
}

#container{
    width:960px;
    background-color:#ffffff;
    margin-top:30px;
    margin-bottom:30px;
    margin-left:auto;
    margin-right:auto;
    /* Shorthand Top,Right,Bottom,Left */
    margin: 30px auto 30px auto;
    /* Shorthand Top/Bottom , Left/Right */
    margin: 30px auto;
    border-radius:10px;
}

#header {
    background:#6DBCDB;
    height:150px;
    text-align:center;
    padding:50px;
    border-radius: 10px 10px 0 0;
    margin-bottom:30px;
}


#content{
    width:670px;
    float:left;
    margin-left:30px;
    margin-bottom:30px;
}

#content h2{
    margin-top:10px;
    margin-bottom:20px;
    color:#2C3E50;
    border-bottom: 1px solid #999;
}

#content h3{
margin-top:10px;
margin-bottom:20px;
}

#content h4{
margin-top:10px;
margin-bottom:20px;
border-left: 5px solid #2C3E50;
padding-left:7.5px;
}

#content blockquote{
margin: 10px 40px 20px;
background:#ccc;
padding:30px;
border-left: 5px solid #2C3E50;
}

#content cite{
    display:block;
    text-align:right;
    font-weight:bold;
    margin-top:10px;

}



#content table{
    width:100%;
    margin-top:10px;
    margin-bottom:20px;
    border-collapse: collapse;
    border:1px solid #999;

}

#content caption{
margin-top:10px;
margin-bottom:20px;
font-size:1.5em;
font-weight:bold;
}
#content tr:nth-child(odd){
       background:#ccc; 
}
#content tr:hover{background:#999;}
#content td{
    border:1px solid #999;
    padding:7.5px;
    width:33%;
}
#content th{
    background:#2C3E50;
    padding:7.5px;
    color:#fff;
}
.img-right{
    float:right;
    border:1px solid #999;
    margin: 10px 0 20px 30px;
    padding:7.5px;
}

.img-left{
    float:left;
    border:1px solid #999;
    margin: 10px 30px 20px 0;
    padding:7.5px;
}

#content address{
    margin-top:10px;
    margin-bottom:20px;
}

#content ol, #content ul {
    margin:10px 0 20px 40px;
}

#content dl{
    margin-top:10px;
    margin-bottom:20px;
}
/* https://www.w3schools.com/css/css_combinators.asp */
dd + dt{
    margin-top:30px;
}

#content dd{
    margin-left:30px;
}

#content dt{
    font-weight:bold;
}

#content ol ul {
    margin-left:20px;
}

#content p{
        margin-top:10px;
    margin-bottom:20px;
}



aside{
    width:200px;
    float:left;
    margin-left:30px;
}
#footer{
    clear:both;
    background:#6DBCDB;
    padding:15px 30px;
}

/* Navigation */

ul#main-nav {
}
ul#main-nav li {
    list-style:none;
    margin:0 0 7.5px 0;
}
ul#main-nav li a {
    text-decoration:none;
    display:block;
    padding:0.5em 0.8em;
    border-left:0.4em solid #2C3E50;
    color:#fff;
    background:#2C3E50;
    border-radius:6px;
}
ul#main-nav li a:hover {
    border-left:0.4em solid #2C3E50;
    color:#fff;
    background:#6DBCDB;
    text-shadow: 1px 1px #000;
}

            
          
!
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

Open Chat