I've been attempting to import a CSS file into an HTML document, but for some reason it's not working. I have also tried linking the path directly, but that hasn't worked either.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Lesson</title>
<meta charset="utf-8">
<style rel="stylesheet">
@import url("U5.css");
</style>
</head>
<body>
<script src="assets/script/U5.js" ></script>
</body>
However, it seems like using "http:....." as a format is successful;
href="http://127.0.0.1:54149/assets/pages/U5-JS.html"
Is there a way to convert the path to an http format so it will work? Thank you.