Back
styleSheetLinkTag()
Returns a link
tag for a stylesheet (or several) based on the supplied arguments.
<!--- view code --->
<head>
<!--- Includes `stylesheets/styles.css` --->
#styleSheetLinkTag("styles")#
<!--- Includes `stylesheets/blog.css` and `stylesheets/comments.css` --->
#styleSheetLinkTag("blog,comments")#
<!--- Includes printer style sheet --->
#styleSheetLinkTag(sources="print", media="print")#
<!--- Includes external style sheet --->
#styleSheetLinkTag("http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/cupertino/jquery-ui.css")#
</head>
<body>
<!--- This will still appear in the `head` --->
#styleSheetLinkTag(sources="tabs", head=true)#
</body>
Copied!