Add support media attribute for <link> tag

This changes allow set 'media' attribute for <link> tag.