Skip to main content
Participant
May 2, 2020
Question

What is wrong with this code?

  • May 2, 2020
  • 1 reply
  • 500 views

I keep getting error codes that say to close the special character, but it looks like it already IS closed...what am I missing here?

 

Special characters must be escaped....looks like it's already there...

 

 <meta name="resource-type"content="document"/>

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
May 2, 2020

You failed to put a space between attributes.

 

<meta name="resource-type" content="document"/>

 

Also it appears you're using an outdated document type.  HTML5 code doesn't use the slash.

https://www.w3schools.com/tags/tag_meta.asp

 

Nancy O'Shea— Product User & Community Expert