htmlcsswebfontsgoogle-webfontswebfont-loader

Embed a web-font in a blog post via body tag?


I'd like to use a web-font in a blog post without having to change the entire website's code to incorporate it. Is there a way of adding a piece of @font-face code into the body section of a page without using external css or head code?


Solution

  • You can place <style type="text/css"></style> within the body and add the required CSS @font-face properties between these tags.