Do online courses give certificates?

Some do. Check whether the course includes a certificate and whether it is recognised or accredited