Code formatting the page header given method formatPageHeader()