Tutorial:GeoGebra with Moodle
Firstly resize the GeoGebra window so that it is as you want it to appear in the webpage (probably smaller than the size of your screen).
Then type Ctrl + Shift + M which will copy the necessary HTML code to the clipboard.
Then in Moodle create a new Label or Webpage. Turn HTML Editing on and simply paste in the code from the clipboard with Ctrl + V.