title: Understanding a url that references a CSS file in a SharePoint master page
body: <p>For SharePoint, this is the entry you could put into your master page to link to a CSS file.</p>
  
  <pre><code>&lt;SharePoint:CssRegistration
        name="&amp;lt;% $SPUrl:~sitecollection/_catalogs/masterpage/dir/file.css %&amp;gt;"
        runat="server"
        after="SharepointCssFile"/&gt;
  </code></pre>
  
  <p>Could someone please break down the pieces of this url?  I don't understand the following parts of it and how they work together:</p>
  
  <p><code>&amp;lt;%</code> - I do know this means less than</p>
  
  <p>$SPUrl:~sitecollection/ - Is this some kind of variable? What's <code>~</code> for?</p>
  
  <p><code>%&amp;gt;</code> - I do know this means greater than</p>