ie 接收HTML流, 以至IE能够显示内容, 而此html流是由***将html语言转化而来的?
当我们在VS.NET里面写ASP.NET程序,在HTML页面里面,我输入<table> 然后系统会弹出</table> 是不是说明了html 语言认得table 标签,
此table 标签是此html 页面里面的一个对象?如果我想新增一个标签 <me>
当我输入<me>时,使得html 页面当我这个标签是有效的
而这个<me>标签相当于页面上的两个button ,
请问应试怎样做呢?
当我们在VS.NET里面写ASP.NET程序,在HTML页面里面,我输入<table> 然后系统会弹出</table> 是不是说明了html 语言认得table 标签,
此table 标签是此html 页面里面的一个对象?如果我想新增一个标签 <me>
当我输入<me>时,使得html 页面当我这个标签是有效的
而这个<me>标签相当于页面上的两个button ,
请问应试怎样做呢?
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/overview.aspTime Off for Good Behavior: DHTML Behaviors in Internet Explorer 5
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndhtml/html/IE5behave.asp
这是vs的自动完成的功能,和html没有关系
2."而这个<me>标签相当于页面上的两个button "
如果你的意思是使用用户自定义控件的话,那是可以的,可是你得先自己建好控件
除非你自己来解析HTML。这个是有标准的。。
using System.Web.UI;
using System.Web.UI.WebControls;namespace CustomControls
{
public class TestTwoButtons : Control, INamingContainer
{
protected override void CreateChildControls()
{
Button btn = new Button();
btn.ID = "btn1";
btn.Text = "Click me"; Controls.Add(btn); Controls.Add(new LiteralControl(" ")); Button btn2 = new Button();
btn2.ID = "btn2";
btn2.Text = "Click me 2"; Controls.Add(btn2);
}
}
}2. compile it to a dll and copy it to the bin directorycsc /t:library /out:CustomControls.dll CustomControls.cs3. use it in an aspx page:<%@ Register TagPrefix="Me" Assembly="CustomControls" Namespace="CustomControls" %> <form id="Form1" runat="server">
<me:TestTwoButtons runat="server" />
</form>