How To use 3D model in webpage?

I am loading one of the free 3d model in HTML. I am using .gltf file for that and i want to change materials of that 3d models and restrict rotation of that models in my HTML page.
How can i do that??