<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Importing Style Sheet in HTML</title> <style type="text/css"> @import url("examples/resources/sample.css"); p { color: blue; font-size: 60px; } </style> </head> <body> <h1>The wonderful morning</h1> <p>The wonderful evening.</p> </body> </html> <!--The sample.css file contains the below code body { background-color: purple; } h1 { color: red; } p { color: yellow; } -->