Within the college and university systems, courses are not accredited individually. The accreditation process covers the college or university as a whole. It is the school that is accredited.
Once the school has received accreditation from one of the six nationally recognized accreditation bodies, the process of accreditation is complete and any courses it offers are accredited.
While there are no cases of courses themselves being unaccredited if the institution itself has accreditation, some courses may be unacceptable for your purposes based on other criteria.
Colleges and universities are careful regarding which classes they allow to be presented online or through distance education. Classes that require laboratory work or other hands-on participation normally are not taught as online courses. Classes that normally have such a component but for which that component was dropped so that the coursework may be presented online are usually so noted in the course outline and likewise will be noted as a non-lab course on your transcript.
When selecting courses for continuing education or to fulfill a professional licensing requirement, be certain that they will be accepted prior to enrolling. This is normally determined by looking at the licensing or continuing education criteria. If the coursework required has no lab component, it likely will state that you must obtain the class through an accredited institution. Online and distance education courses are not designated as such on transcripts, and those classes can be used to fulfill any requirements, just as a class attended in person.
If a lab component is required for your purposes, then it is unlikely that you will be able to take the course online.