Skip to content

Instantly share code, notes, and snippets.

@victorkane
Created March 8, 2016 00:22
Show Gist options
  • Save victorkane/7d1728f8839eae905962 to your computer and use it in GitHub Desktop.
Save victorkane/7d1728f8839eae905962 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<style>
#header {
background-color:#000000;
color:#ccc000;
text-align:center;
padding:5px;
}
#nav {
line-height:30px;
background-color:#eeeeee;
height:300px;
width:25%;
float:left;
padding:1%;
}
#section {
width:60%;
float:left;
padding:3%;
}
#footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
</style>
</head>
<body>
<div id="header">
<h1>City Gallery</h1>
</div>
<div id="nav">
London<br>
Paris<br>
Tokyo
</div>
<div id="section">
<h2>London</h2>
<p>London is the capital city of England. It is the most populous city in the United Kingdom,
with a metropolitan area of over 13 million inhabitants.</p>
<p>Standing on the River Thames, London has been a major settlement for two millennia,
its history going back to its founding by the Romans, who named it Londinium.</p>
</div>
<div id="footer">
Copyright © W3Schools.com
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment