1、<title><%=a()%></title> //调用后台一个叫a的方法 2、<title id="myTitle" runat="server"><title> myTitle.text="标题名";