I am using Mako templae engine for python. I want to add css stylesheet in my document, but I have no idea how to do that. Any help?
<head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head>
Make sure href points to your CSS file (and in the correct directory)
Taken straight from W3Schools. There is nothing special about Mako templates, they just help you build up dynamic html.
Mako docs for include
<%include file="some_css_you_want_to_include.css" />
Copyright © 2021 Jogjafile Inc.
Make sure href points to your CSS file (and in the correct directory)
Taken straight from W3Schools. There is nothing special about Mako templates, they just help you build up dynamic html.