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.
<head>
<title> Bill Gates </title>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Spectral" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<div class="center">
<h1>Bill Gates</h1>
<h2><em>Business giant and technology legend.<em></h2>
<div class="row">
<div class="col-xs-12 col-md-4 text-center">
<img class="thin-border img-responsive " src="https://upload.wikimedia.org/wikipedia/commons/4/4a/BillGates2012.jpg" border="10px"
align="center" alt="Bill Gates.jpg"></a>
</div>
<strong >
<ul>
<li>William Henry Gates III - Bill Gates.
</li>
<li>Born -October 28, 1955 in Seattle.
</li>
<li>Gates started Microsoft in 1975 with Paul Allen.
</li>
<li>Co-founder and chairman of Microsoft.
</li>
<li>Bill Gates saw an opportunity to transform the personal computer, which used to be a hard-to-use and expensive device.
</li>
<li>He wanted to make computers more user friendly and affordable.
</li>
<li>Gates contacted Micro Instrumentation and Telemetry Systems (MITS), the creators of the new microcomputer, to inform them that he and others were working on a BASIC interpreter for the platform.
</li>
<li>The software was a success and resulted in a deal with MITS to distribute the interpreter as Altair BASIC.
</li>
<li>Microsoft launched its first retail version of Microsoft Windows on November 20, 1985
</li>
<li>Since 1987, Gates has been included in the Forbes list of the world's wealthiest people.
</li>
<li>Gates stepped down as chief executive officer of Microsoft in January 2000.
</li>
<li>He has a charity with his wife Melinda Gates called the Bill and Melinda Gates Foundation.
</li>
<li>The charity helps with vaccination of children in sub-Saharan Africa, scholarship programs in the United States, and leadership to help organize other billionaires to redistribute their wealth.
</li>
<li>He also supports human rights, education and technological innovation.
</li>
<li>In 2002, Bill and Melinda Gates received the Jefferson Award for Greatest Public Service Benefiting the Disadvantaged.
</li>
<li>Gates was made an honorary Knight Commander of the Order of the British Empire (KBE) by Queen Elizabeth II in 2005.
</li>
<li>In November 2006, he was awarded the Placard of the Order of the Aztec Eagle, together with his wife Melinda who was awarded the Insignia of the same order, both for their philanthropic work around the world in the areas of health and education, particularly in Mexico, and specifically in the program "Un país de lectores"
</li>
<li>Gates received the 2010 Bower Award for Business Leadership from The Franklin Institute .
</li>
<li>Also in 2010, he was honored with the Silver Buffalo Award by the Boy Scouts of America, its highest award for adults, for his service to youth.
</li>
<li>In 2009, Bill Gates pledged at least half of his wealth to philanthropy.
</li>
<li>In 2015, Gates, along with his wife Melinda, received the Padma Bhushan, India's third-highest civilian award for their social work in the country.
</li>
<li>In 2016, President Barack Obama honored Gates and his wife Melinda with the Presidential Medal of Freedom for their philanthropic efforts.
</li>
<li>In 2017, President François Hollande awarded Gates and his wife Melinda with the France's highest national award - Legion of Honour in Paris for their charity efforts.
</li>
</ul>
</strong>
</div>
<br>
<p>Follow the link to read more <a href="https://en.wikipedia.org/wiki/Bill_Gates">Bill Gates Wikipedia</a></p>
<footer class="center">
<p>Done by Shahiel</p>
</footer>
</body>
body{
background: #9a9fa8
;
font-family:lobster, serif;
}
h1 ,h2 , h4{
color:black;
}
.thin-border{
border-style:solid;
border-width:5px;
}
li {
color:black;
font-family:Spectral, serif;
margin:10px;
}
a{
color:#CF2931;
}
.center{
text-align:center;
}
img{
width:500px;
margin-left: 75%;
margin-right: auto;
}
ul li{
list-style: none;
}
Also see: Tab Triggers