HTML code
<head runat="server"> <title>无标题页</title> <meta name="keywords" id="k1" content="1,2,3"/> </head>
子页面内容标题和关键字
C# code
protected void Page_Load(object sender, EventArgs e) { this.Page.Title = "123"; HtmlMeta k1 = (HtmlMeta)this.Header.FindControl("k1"); if (k1 != null) { k1.Content = "新的keywords"; } }

相关文章:

  • 2021-09-24
  • 2022-12-23
  • 2021-08-14
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-04
  • 2022-02-09
  • 2022-12-23
  • 2021-12-21
  • 2021-05-23
  • 2022-01-05
  • 2022-12-23
相关资源
相似解决方案