Revision control
Copy as Markdown
<html>
<head>
<title>Window Open On Tap Test</title>
</head>
<body>
<h1>Window Open On Tap Test</h1>
<p>Tapping the button below navigates to the designated URL in a new tab.</p>
<!-- Relative URL so it resolves against the local test server's dynamic port -->
<button id="openDesignatedURL" onclick="window.open('test-example.html', '_blank');">Open designated URL</button>
</body>
</html>