var link = document.craeteElement('link'); link.href = '.........'; link.type = 'text/css'; document.getelementsByTagName('head')[0].appendChild(link);