adding the head, title and body tags