Developer Corner - Resolving file/html/unknowntag issues

10 Aug 2020 | Developer Corner

Helen Grimbly
  • Tweet this item
  • share this item on Linkedin

This week, Support Lead, Helen Grimbly outlines a few indicators for resolving file/html/unknowntag Code Quality issues.

Often this error is caused by a simple spelling mistake - e.g. writing <selcet> instead of <select>. The fix here is generally obvious. 

A tag in your HTML code can also be raised as an error, if the tag is not valid according to the HTML specification you are using. The DOCTYPE of your document will determine which tags are valid to be used. It's important to use valid tags, as the HTML code is more likely to work across different browser platforms.

Please see the following article for more information on defining the DOCTYPE of your HTML code: 
https://sitemorse.com/blog-article/9472/week-25-technical-service-bulletin-defining-doctype-webpage/

A common error is to try to use HTML 5 tags (e.g. <header>, <footer>, <video>) with an HTML 4 DOCTYPE. If you wish to use HTML 5 tags then you must use an HTML 5 DOCTYPE.