• Register
100 points
5 1

There are many ways to integrate 5 CSS files into your site are follows:- 

  • You can use <link> tag in HTML for linking the CSS file like this:
<head>
    <link  href="style1.css" rel="stylesheet" type="text/css">
   <link  href="style2.css" rel="stylesheet" type="text/css">
   <link  href="style3.css" rel="stylesheet" type="text/css">
   <link  href="style4.css" rel="stylesheet" type="text/css">
   <link  href="style5.css" rel="stylesheet" type="text/css">
</head>
  • Add all CSS files into one CSS and linked with HTML page with <link> tag
  • This is the best way in my understanding to integrate the CSS files .Use like this
@import url("style1.css");
@import url("style2.css");
@import url("style3.css");
@import url("style4.css");

Integrate these import statements using SASS in main css file(style5.css) and then link with HTML page with <link> tag.

<head>
    <link  href="style5.css" rel="stylesheet" type="text/css">
</head>

Note:-Please check your all CSS files whether they have duplicacy or not.