0

Can we add html element using python flask?

I am practicing flask. I want to add a <p> tag in my html page using flask. Is it possible? I know we can add it like this :- In html page: <p> {{msg}} </p> In flask app: @app.route('/html', msg = 'hello') But I don't want to do this. I want to add that along with <p> tag using flask

8th Oct 2022, 6:20 PM
Pardha Saradhi
1 Respuesta
+ 2
https://www.sololearn.com/Discuss/3090614/?ref=app I think u can use the format used in answering this question
9th Oct 2022, 7:32 PM
Techna💖💕😎
Techna💖💕😎 - avatar