how to ensure that the page opens in horizontal mode

hi
i created a webpage and i want to ensure that when the page is called from an ipad or any mobile device the page opens in horizontal mode only. i have seen many games(e.g. fruit ninja) which opens in horizontal mode only. code is done in html5 and javascript.
can some one please help with.
but is there any way that i can make my page landscape only?
fruit ninja was an example only. i want my page to get loaded in landscape mode only . can you help me with that?

Original thread: https://forums.imore.com/threads/how-to-ensure-that-the-page-opens-in-horizontal-mode.274815/