How do you copyright pictures online?

You don't DO anything for copyright. It is free and automatic in over 160 countries that belong to the Berne Convention, including the USA.

You can optionally use the copyright notice to remind people you own the copyright. You can optionally register your copyright if you're planning to sue someone for infringement in US federal courts.