Adds a closing html tag to the echo example and adds closing body and html tag to the events example.