Skip to content

Instantly share code, notes, and snippets.

@RebootJeff
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RebootJeff/b9f3147564126ac5425e to your computer and use it in GitHub Desktop.
Save RebootJeff/b9f3147564126ac5425e to your computer and use it in GitHub Desktop.
HTML CSS example (for teaching)
<!DOCTYPE html>
<html>
<head>
<style>
body, h1, p {
border: 2px solid red;
}
h1, p {
margin: 10px;
padding: 10px;
}
i, a {
border: 5px solid green;
}
a {
color: black;
}
</style>
</head>
<body>
<h1>The Cottage Garden</h1>
<p>The <i>cottage garden</i> is a distinct style of garden that uses an informal design, dense plantings, and a mixture of ornamental and edible plants.</p>
<p>The Cottage Garden originated in <a href="blah">England</a> and its history can be traced back for centures, although they were re-invented in the 1870's England, when stylized versions were formed as a reaction to the more structured and rigorously maintained <a href="blah">English estate gardens.</a></p>
<p>The earliest cottage gardens were more practical than their modern descendants, with an emphasis on vegetables and herbs, along with some fruit trees.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment