To make add/change files in /var/www/html the user has to belong to the group “users”. You can add a user like this:
usermod -G users username
You can also change the permissions of the directory with the following command:
chmod 777 /var/www/html
This will give write permissions to everybody. For security reasons we recommend the first option.