html - Link Bootstrap Button -
i have piece of code in flask application want implement button takes me specific page.
<button type="button" class="btn btn-primary btn-block">evaluate</button>
how link button? did putting tag wrapping it, can use tag directly? (using tag changing styling)
*i did code below, not me
<a href="{{url_for('evaluate')}}"><button type="button" class="btn btn-primary btn-block">evaluate</button></a>
use <a>
tag instead
<a href="someurl" class="btn btn-primary btn-block">evaluate</a>
use href
attribute navigate new location.
bootstrap take care of presenting <a>
tag button css classes.
Comments
Post a Comment