Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
HTML CSS example (for teaching)
<!DOCTYPE html>
body, h1, p {
border: 2px solid red;
h1, p {
margin: 10px;
padding: 10px;
i, a {
border: 5px solid green;
a {
color: black;
<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment