Yes, you can get a visa for China online.
The first thing you need to do is to register on the website of the Chinese Embassy in your country. This is called the “China Visa on Arrival” (CVOA) website.
The next step is to log in to your account and create an account with a valid email address and password.
You can then search for the visa you need, select the type of visa you need (e.g. business visa), select your country of residence, and enter the dates of your travel.