How can I do includes like the header or footer?

If you are creating static HTML pages, you could choose to create your own elements as in

and