If I want to publish my game on a website, do I have to pay?

I can package my game for html 5. Is it okay to publish that right to the internet?

This depends on if you take money for it or not.

Generally, if you don’t generate any money you don’t have to pay.

If you make more than $3,000 in gross revenue per quarter, you will have to pay 5% royalties.