我一直试图将某些按钮链接到其他页面,但是单击它不会带我到任何地方。
<body>
<li class="nav-item "> <a class="nav-link" href="#About">About <span class="sr-only">(current)</span></a> </li>
<li class="nav-item"> <a class="nav-link" href="#Our Story">Our story</a> </li>
</li>
<li class="nav-item">
<a href="" id="img"> <img src="img/icons/starbucks_featured_image-1.jpg" alt="some text" height: "200" width="100"></a>
</li>
<li class="nav-item"> <a href="contact_US.html" class="nav-link"> social</a> </li>
<li class="nav-item"> <a href="Social_page.html" class="nav-link">contact</a> </li>
</ul>
</body>
答案 0 :(得分:1)
您没有空缺的var users = _userManager.GetUsersInRoleAsync("RoleName").Result;
(如果是Bootstrap,则没有<ul>
),并且第四行还有一个额外的class="nav"
:
</li>