header & footer in code example

Basic example is better then no example in my opinion.