Originally, off-topic applied to newsgroup messages, but now applies to any discussion forum.
The opposite of off-topic is on-topic.
See also:
... The average household size is 2.25 and the average family size is 2.81. In the village the population is spread out with 20.5% under the age of 18, 6.1% from 18 to 24, ...