Some time you have to put a Adding TypeKit code into the Head of a Magento 2 site. Some People are create Extension to add script in a Head of Magneto 2 Site. There is no need to create extension just to add script in head. You can use following setting from admin. You can add Script in Head using a Extension and The easy way to add script in a Head tag is the Magento 2 Admin. Magento 2 Admin give you a option to Put your script and Typekit in the head tag.
You have to Follow Below step to add the script in a <head> tag. In Magento 2.0, the Miscellaneous Scripts feature was located under the
Admin > Stores > Configuration > General > Design > HTML head And find Miscellaneous Scripts
Add your script here and Click on the Save Config. Now your script is add in the <head> tag of the Website.
But if You are using the Magento 2.1 this feature was relocated in the
Admin > Content > Design > Configuration Tab > Other Settings > HTML Head Tab.
Add your script here and Click on the Save Config. Now your script is add in the <head> tag of the Website. You can also add the css in this <head> tag and also you can attach the file in this <head> tag. Fore more Magento Tutorial.
If Your Script is not add in your <head> then try to clean your cache. Many times you need to clean your cache to watch the script in you <head> tag.
Fore More Detail You have to Watch this