Answer the question
In order to leave comments, you need to log in
Is it possible to format forms in li tags this way?
Is it correct from the point of view of SEO optimization to throw the form in the li tag?
<li class="dropdown show" id="profile">
<a class="dropdown-toggle" href="#" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-user fa-1-5x"></i>
</a>
<div class="dropdown-menu" id="drop-profile" aria-labelledby="dropdownMenuLink">
<a asp-action="Login" asp-controller="Registration" class="dropdown-item">Войти</a>
<a asp-action="Create" asp-controller="Registration" class="dropdown-item">Регистрация</a>
</div>
</li>
<li class="nav-item" id="searchbox">
<form action="/" method="post" class="form-inline">
<input type="text" class="form-control" placeholder="Search" aria-describedby="basic-addon2">
<button type="submit" class="input-group-addon" id="basic-addon2">
<i class="fa fa-search"></i>
</button>
</form>
</li>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question