function link_strony(adres) {
document.write('<a target="_blank" rel="noopener noreferrer">');
document.write(adres + '">www</a>');
}
<script>link_strony('http://www.mow.waw.pl');</script>
function link_strony(adres) {
document.write('<a target="_blank" rel="noopener noreferrer">');
document.write(adres + '">www</a>');
}
<script>link_strony('http://www.mow.waw.pl');</script>