What Malcolm said.
The ability to put words & music on a web page means it's published in a technical sense. The rules for the competition may well predate the Web & so not really take this kind of publication into account.
Check with the competition's organization & get specifics.