Question: is online one word or two?
Answer: While we couldn't classify “on-line” as completely out of use or misspelled, “online” is certainly the form preferred nowadays. We certainly recommend you to use it as one word, without a hyphen, to make sure it won't be identified as an error.