<button onclick="window.open('https://www.example.com', '_blank', 'height=500,width=500')">Открыть окно</button>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.