Hi I want to find some HTML codes for 3d games would you send me some links for it? i have searched a lot but they were not good! thanks
HTML has no inherent support for 3D games. Perhaps look at Macromedia Flash?
This is not how HTML works. Consider reading the Wikipedia article on HTML.
You may be interested in WebGL - which is only supported in the nightlies of the most modern browsers (webkit and firefox, I believe).
You can't make a dynamic website with PURE html. You need to mix in JavaScript. Currently, you can use canvas to do pixel operations and basic 2d operations. With the pixel operations, you can implement 3d [setpixel nonstop] and have an array that represents the zBuffer. I know of Sandy HX, which is a port of the as3 engine, Sandy: http://www.chromeexperiments.com/detail/3d-javascript-with-sandy-hx/ and the slow 3d engine I wrote >_>...
You should look into using flash. Mainly PaperVision3D and Sandy.
There is also O3D[Google] and Canvas3D[Mozilla]. O3D brings hardware acceleration into the picture. However, it requires an extension be downloaded.
HTML is a markup language used to describe documents (especially web documents). It's not possible to put any logic into HTML alone, as such you cannot create a game, especially not a 3D game.
Given that 3D games also require quite a lot processing, you should rather take a look at real programming languages, outside of web development. For example C# or something.
Some of the answers to Options for developing a web-based game are for 3D libraries.