How to embed a 3D model on a webpage?

Which format to upload?
Is there a model size limitation?