skip to Main Content

html file is not displaying which is referenced inside another html file using flask

main.py `from flask import Flask, render_template app = Flask(__name__) @app.route('/') def home(): return render_template('home.html')` home.html `<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>HOME</h1> <a href="hello.html">hello</a> </body> </html>` hello.html `<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>hello</title> </head>…

VIEW QUESTION
Back To Top
Search