PHP,WORDPRESS,DREAMWEAVER ERROR
Four character entity references deserve special mention since they are frequently used to escape special characters:
- “<” represents the < sign.
- “>” represents the > sign.
- “&” represents the & sign.
- “" represents the ” mark.
- Let’s take an example of a sitelink search box:< script type=”application/ld+json”>{“@context”: “http://schema.org”,“@type”: “WebSite”,“url”: “https://www.akonnor.com/”,“potentialAction”: {“@type”: “SearchAction”,“target”: “https://query.akonnor.com/search?q={search_term_string}”,“query-input”: “required name=search_term_string”}}< /script>These when coded will give 4 error message or special characters must be escaped.
- The correct code should be this“<”script type=application/ld+json“>”
 {
 “@context”: “http://schema.org”,
 “@type”: “WebSite”,
 “url”: “https://www.akonnor.com/”,
 “potentialAction”: {
 “@type”: “SearchAction”,
 “target”: “https://query.akonnor.com/search?q={search_term_string}”,
 “query-input”: “required name=search_term_string”
 }
 }
 “<” /script“>”

Comments
Post a Comment