HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
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.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<h1>Ole Kirk Kristiansen</h1>
<img src="http://www.famousinventors.org/images/ole-kirk-christiansen.jpg" class="img-rounded img-responsive ">
<div class="quote">
<p> <strong>“Only the best is good enough.” - Ole Kirk Kristiansen</strong></p>
</div>
<body>
<p>Ole Kirk Kristiansen is the man behind the LEGO Group. Founded in 1932 the company has passed from father and son and is now currently owned by his grandchild Kjeld Kirk Kristiansen.</p>
<h2>The Start of a Legacy</h2>
<p>Starting from humble beginnings Ole Kristiansen took the LEGO Group from the bottom and made the start of a company that would touch millions of people around the world. It was his vision and his never ending search for the best that put the LEGO Group
where it is today.</p>
<li><strong>1932</strong> Ole Kristansen, master carpenter starts his business in the village of Billund, Denmark. The firm manufactures stepladders, ironing boards, stools and wooden toys. His son, Godtfred Kirk Christiansen, starts working there at age
of 12.</li>
<li><strong>1934</strong> The company and products now take the name LEGO, from the Danish words "LEg GOdt" ("play well"). Later realised it means "I put together" in Latin. LEGO has 6-7 employees.</li>
<li><strong>1936</strong> Godtfred Kirk Chrstiansen cuts Ole Kirk's motto “Only the best is good enough” and hangs it up in the workshop.</li>
<li><strong>1942</strong> The LEGO factory burns to the ground, but production of wooden toys is quickly resumed.</li>
<li><strong>1946</strong> The LEGO Group buys a plastaic injection-moulding machine for toy production.</li>
<li><strong>1949</strong> The company produces around 200 different plastic and wooden toys, including Automatic Binding Bricks, a forerunner ot the LEGO bricks we know today.</li>
<li><strong>1953</strong> The Automatic Binding Bricks get a new name: "LEGO Bricks". The first application for registration of the trademark.</li>
<li><strong>1958</strong> Current LEGO stud-and-tube coupling system is patented. Ole Kirk Kristiansen passes away and Godtfred Kirk Kristiansen becomes head of the company.</li>
<h2> The Legacy Continues</h2>
<div class="part2">
<p>After Ole Kristiansen died it was up to his son, Godtfred Christiansen, to carry on the legacy his father started.
</div>
<li><strong> 1963</strong> Godtfred Kirk Christiansen presents the company to the ten product characteristics:
<ol>
<li>Unlimited play potential</li>
<li>For girls and for boys</li>
<li>Fun for every age</li>
<li>Year-round play</li>
<li>Healthy, quiet play</li>
<li>Long hours of play</li>
<li>Development, imagination, creativity</li>
<li>The more LEGO, the greater the value</li>
<li>Extra sets available</li>
<li>Quality in every detail</li>
</ol>
<li><strong>1966</strong> The A total of 706 million LEGO elements are produced during the year. LEGO is now sold in 42 countries.</li>
<li><strong>1973</strong> A single new LEGO logo replaces the carious logos the have been used until now. The new LEGO logo unifies all the company's products under one banner.</li>
<li><strong>1975</strong> The LEGO Group has 2,500 employees.</li>
<li><strong>1977</strong> Kjeld Kirk Kristiansen, the third generation, joins the LEGO Group management.</li>
<li><strong>1986</strong> Godtfred Christiansen resigns as chairman of the board of LEGO and Kjeld Kristiansen takes over</li>
<li><strong>1987</strong> The LEGO Group has almost 6,000 employees and LEGO products are now selling in 115 markets.</li>
<li><strong>1989</strong> Ole Kirk Kristiansen is inducted into the Toy Industry Hall of Fame.</li>
<li><strong>1990</strong> The LEGO Group is now one ofthe world's 10 largest toy manufacturers. The magic berrier - 1,000,000 visitors in a single year - is broken for the first time at LEGOLAND Billund on 4th September.</li>
<li><strong>1995</strong> Godtfred Christiansen passes away on 13th July.</li>
<li><strong>1996</strong> <a link href='http://www.lego.com' target='_blank'> www.Lego.com </a> is launched.</li>
<li><strong>1998</strong>The Lego Group is in trouble as it faces a deficit for the first time ever.</li>
<li><strong>1999</strong>LEGO Group undergoes restructuring. The changes result in the loss of 1000 jobs. The LEGO brick is named as one of the "Products of the Century" by Fortune Magazine.</li>
<li><strong>2004</strong> The LEGO Group struggles. In January, the LEGO Group announces the results of 2003 – a huge deficit. Owner and CEO Kjeld Kirk Kristiansen heads up the building of an action plan to turn around the company. In October he appoints
Jørgen Vig Knudstorp as new CEO of the company. The year ends with another huge deficit due to heavy write-downs.</li>
<li><strong>2005</strong> LEGO Group posts a profit again. The company is back on track.</li>
<li><strong>2009</strong> The LEGO Group is now the world's 5th largest toy manufacturer in terms of sales.</li>
<li><strong>2011</strong> The LEGO Group is now the 3rd largest toy manufacturer in terms of sales.</li>
<li><strong>2015</strong> LEGO products are now sold in more than 140 countries.</li>
<div class="history">
<p> Here is the complete history at <a link href='http://www.lego.com/en-us/aboutus/lego-group/the_lego_history' target='_blank'> Lego History</a> by the Lego Group.</p>
</div>
<div class="footer">All information for this page was taken from The Lego Group © history page.
</div>
</body>
body {
background-color: #cce6ff;
border: 10px double navy;
border-radius:2em;
margin: 10% 15%;
padding: 25px
}
h1 {
text-align: center;
text-shadow: 2px 2px gray;
}
img {
/* display: block; */
margin: auto;
/* width: 40% */
}
h2 {
text-align: center;
text-decoration:underline;
}
p {
padding: 25px;
margin: 25px;
}
li {
padding: 0px 100px 0px 100px
}
.quote {
text-align: center;
text-decoration: underline;
}
.part2 {
text-align:center;
}
.history {
text-align:center;
}
.footer {
text-align:center;
font-size: 80%;
}
Also see: Tab Triggers