@willa_will Используйте window.open() в Javascript, чтобы открыть новое окно и ниже пример кода:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> </head> <body> <button onclick="openWindow()">Открое новое окно</button> </body> <script> function openWindow(){ window.open("https://dropcode.ru"); } </script> </html> |