On-line could be an adjective or an adverb. In both of those usages, it refers to the state of being connected to a network , like "greatest", or "optimum", so equally as you should use it being an adjective to show that a little something is the last word example https://www.learnenglishonlinewithtehreem.com/