How to render plain HTML links in Asp.Net MVC loop?

后端 未结 6 906
隐瞒了意图╮
隐瞒了意图╮ 2020-12-29 07:45

I would like to render a list of HTML links in ASP.NET MVC. Note that the links are absolute and external to the website being designed. The following code

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 08:20

    I would rather use

    link
    

    seems somewhat "cleaner" to me, but I think your approach just as good.

提交回复
热议问题