Prince William appears on the cover of a gay magazine

Britain's Prince William appears on the cover of gay magazine Attitude.

LONDON (REUTERS) - Prince William will appear on the July cover of Attitude speaking out against homophobia, the first time a British royal has been photographed for the front of a gay publication, the magazine said on Wednesday (June 15).

William is seen grinning next to the headline "Making History", and his quote: "No one should be bullied for their sexuality or any other reason".

The magazine - which usually features athletes, models and other stars under its main logo - said the prince had posed for the shot after meeting its editor and a group of gay and transgender people at Kensington Palace. 

Prince William, whose brother Harry won praise in 2013 for saving a soldier in his regiment from a gay hate attack, is quoted telling anyone being bullied for their sexuality to report it and get support.

Attitude, which calls itself "the UK's best-selling gay magazine", said Prince William had invited it last month "to bring members of the LGBT+ community to Kensington Palace to listen to their experience of bullying".

The Prince, the queen's grandson, said in April that he wanted to foster a more modern and relevant monarchy.

The magazine, whose digital edition is available to download now and print edition goes on sale on June 22, went to press before Sunday's shooting at a gay nightclub in Orlando, where 49 people were killed.