I don't think jams restrict the way you want to publish it, but as far as I know web is preferable since it makes it easier for people to play. Could always have both as well.
Like @CivilianGhost said in a gamejam, the web format is plebiscited because everyone can play with out download and not required os limitation (mac os principally). So web is better generally.