I have a question about custom styles in SharePoint. I know that custom styles can be added by using the seattle.html file. But there are some codes that I dont understand. So let me tell you, if I add a new style I use the
<head> and paste the location (Option 1) to the css file. But there are two options to do this:
This is the normal way I ever take: Option 1:
<head> <link rel="stylesheet" type="text/css" href="https://example.com/cssstyle/Mystyle.css"> </head>
<head> <SharePoint:CssRegistration Name="https://example.com/cssstyle/Mystyle.css" runat="server" /> </head>
My question is, where are the differences between this two options. Which option should I use to add a custom style?
Thanks for comming answers!