In asp-net-core, why does the span element with a valid asp-validate-for, behave inconsistently when its next to different types of elements. For example, take the following cod