 <ol start="3"> <li>As an alternate solution you may simply not use HTML helpers and write your own HTML. Using HTML helpers leads to issues such as those you are encountering. You may overcome them, but what is the point using HTML helpers if instead of helping you, they create difficulties? (In my point of view, MVC is about having control over the front code you serve to browsers.)</li> </ol> <p>With Razor, writing directly the required HTML can prove more effective than letting HTML helpers do that for you.</p> <p>Granted, this is my point of view. I have detailed it a bit more on some similar question <a href="/a/36084744/1178314">here</a>.</p>