Harry Potter is a fantasy composition.
Fantasy literature is set in an imaginary universe , often but not always without any locations , events , or people from the real world . Harry Potter is a series of fantasy novels written by British author J. K. Rowling . A series of many genres , including fantasy , drama , coming of age , friendship , and the British school story ( which includes elements of mystery , thriller , adventure , horror and romance ) , the world of Harry Potter explores numerous themes and includes many cultural meanings and references . Harry James Potter is the title character and protagonist of J. K. Rowling 's Harry Potter series .