Sure, here's an example of a simple 3D cube spinning on all axes using HTML and JavaScript:
You can save this code as an HTML file and open it in a web browser on your smartphone. It will display a 3D cube spinning on all axes. The cube is represented by different colored faces drawn using JavaScript's Canvas API.