link to CSS file gives error: "special characters must be escaped [<]."

New Here ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

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

 

What did I do wrong?

I'm a student and I am just learning to link the CSS to the HTML;

thx!

Tinne

Views

606

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 15, 2020 May 15, 2020

There is nothing wrong with the link to your css styelsheet. The error is refering to some other code in your page which probably has an unclosed tag.

Likes

Translate

Translate
LEGEND ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

There is nothing wrong with the link to your css styelsheet. The error is refering to some other code in your page which probably has an unclosed tag.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 15, 2020 May 15, 2020

Copy link to clipboard

Copied

LATEST

Use the online markup validation service to check your code. 

From DW CC, go to Window > Results > Validation. Check your document. 

 

A well-formed HTML document should look something like this:

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Unique Page Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="Tinne.css" rel="stylesheet" type="text/css">
</head>

<body>
PAGE CONTENT GOES HERE
</body>
</html>

 

Nancy O'Shea, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines