How do I publish to the web?

I have never published a game before, so how do I put my game on my website?
thanks.

Easy answer is, target player setting to web. This will output a .html file and a .unity3d file. Upload both to the same area of your website and check in browser.

I will try that, I hope it works.

Edit: it worked almost perfectly.

http://virtualspacelife.webs.com/game.htm, how do I make it so it is in my page and not a separate page?
Thanks for your help!

just edit the html code of test page,select the correct content for launching game and put it on your html mainpage.or simply use iframe.

:face_with_spiral_eyes:… I think I will just leave it how it is now.

Thanks

thi is a part of code readed on builded web project:

<script type="text/javascript" src="http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject.js"></script>
		<script type="text/javascript">
		<!--
		function GetUnity() {
			if (typeof unityObject != "undefined") {
				return unityObject.getObjectById("unityPlayer");
			}
			return null;
		}
		if (typeof unityObject != "undefined") {
			unityObject.embedUnity("unityPlayer", "myGame.unity3d", 600, 450);
		}
		-->
		</script>

i think u have to put this on our page html,and correct this

unityObject.embedUnity("unityPlayer", "myGame.unity3d", 600, 450);

it simply to corret:

unityObject.embedUnity("unityPlayer", "NAME OF OUR UNITY3D.unity3d", PLAYER X SIZE, PLAYER Y SIZE);