logo

NJP

Adding Doctype to a UI Page

Developing Creative Business Solutions On ServiceNow on CodeCreative | A ServiceNow Blog · Jun 15, 2015 · article

Today, I am going to share a trick I learned to add a doctype to a UI Page based off of will.leingang’s article Making a UI Page without using the framework page template. A page’s doctype usually doesn’t seem to make a huge difference in output but occasionally, certain scripts and html/css tricks require a specific doctype. In my case, I needed the standard HTML5 doctype. What Not To Do As my first attempt, I foolishly tried this for the UI Page:

View original source

https://codecreative.io/blog/adding-doctype-to-a-ui-page/