format code and modify the style of artitle title from h1 to div