skip to Main Content

Html – Open a link in fullscreen

I'm trying to open a link in full screen. I took the code from here. https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_element_requestfullscreen <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <button onclick="openFullscreen();">Open Link in Fullscreen Mode</button> <a href="https://www.yahoo.com" id="mypagelink"></a> </body> </html> <script> var elem = document.getElementById("mypagelink"); function…

VIEW QUESTION
Back To Top
Search