This demo program will help you to code all heading available in HTML using C# code. This C# code is implemented in aspx page. The whole program is given below. Please let us know if you have any questions.
Source code of How to Implement (H1) Heading 1 to (H6) Heading 6 in ASP.NET - C#
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <html>
<body>
<%
for (int i = 1; i <= 6; i++)
{
Response.Write("<h" + i + ">Heading " + i + "</h" + i + ">");
}
%>
</body>
</html>
No comments:
Post a Comment