To display your X3D scene in a HTML page first save your scene as X3D XML Encoded file, i.e. create a file with the extension *.x3d.
The HTML page is quite easy to create, the HTML code below shows you the minimum requirements. The X3D scene is integrated into the HTML with the new X3D tag.
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/create3000/cobweb/master/stable/1/1.22/cobweb.css"/>
<X3D url=' "dragon.x3d" '>
<p>Your browser may not support all features required by Cobweb!</p>
Here in this example the file »dragon.x3d« will be shown in the browser in fullscreen mode. Change the url field of the X3D tag to your own file.
The dragon above here on this page is included with a »iframe« tag. Additionally the viewpoint is animated using interpolators.