What you could do is go for an ASP.NET control. It's extension is ASCX, and it consists of the same HTML tags, etc.