Originally, off-topic applied to newsgroup messages, but now applies to any discussion forum.
The opposite of off-topic is on-topic.
See also:
... World War I forced women to break even more gender barriers by entering the workforce to replace the large numbers of men fighting overseas. At war's end, women were ...