• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

731

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.

Votes

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.

Votes

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
Community Expert ,
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— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

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