Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过单击 mvc 中的按钮来调用 html 页面。有没有办法从 mvc3 调用普通的 html 页面?
然后您的按钮应如下所示:
<a href="path to html">Click me</a>
在您的视图中使用锚标记,就像您通常那样:
<a href="/my-html-page.html">Click Me</a>