def METHOD_NAME(url, type_):
    if type_ == u'style':
        return u'<link href="{}" rel="stylesheet"/>'.format(url)
    elif type_ == u'script':
        return u'<script src="{}" type="text/javascript"></script>'.format(url)
    return u''