标签:put meta div body images alt render deb 不同
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>BIG SALE in TB</title> <base href="https://ai.taobao.com/?pid=mm_12351394_2325537_70732358" target="_blank"> <style...></style...> </head> <body> <nav> <a class="logo" href="/"> <img src="https://ss2.bdstatic.com/8_V1bjqh_Q23odCf/pacific/1185915212.png" alt="Logo"></a> <a href="http://127.0.0.1:5000/">首页</a> <a href="http://127.0.0.1:5000/login">登录</a> <a href="{{ url_for(‘register‘) }}">注册</a> <input type="text"name="search"> <button type="submit">搜索</button> </nav> <hr> <p></p> <div> <p><span style="font-family: ‘Consolas‘, ‘Monaco‘, ‘Bitstream Vera Sans Mono‘, monospace;font-size: 40px;color: crimson">双11全部商品</span> <span style="font-family: ‘Consolas‘, ‘Monaco‘, ‘Bitstream Vera Sans Mono‘, monospace; font-size: 60px;color: crimson">50%OFF!!!</span></p> </div> <p></p> <p></p> <h1>LOOK AT HERE!!!</h1> <p>双11全部商品50%OFF!!</p> <p>双11全部商品50%OFF!!</p> <p>双11全部商品50%OFF!!</p> <p></p> </body> </html>
from flask import Flask,render_template
app = Flask(__name__)
@app.route(‘/‘)
def index():
return render_template(‘base.html‘)
@app.route(‘/Login‘)
def Login():
return render_template(‘Login.html‘)
@app.route(‘/res‘)
def res():
return render_template(‘res.html‘)
if __name__ == ‘__main__‘:
app.run(debug=True)
标签:put meta div body images alt render deb 不同
原文地址:http://www.cnblogs.com/laifai666/p/7780518.html