Is it possible to have an html (https Only), to fullscreen the website inside?

BTW - the allowFullScreen() function only allows full screen, it doesn’t put it into full screen. Hopefully I can find an example how this works.