Language Autoeventwireup Codebehind Inherits HTML Xmlns Runat Id Runat
Language Autoeventwireup Codebehind Inherits HTML Xmlns Runat Id Runat
master
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Name:Manaal Ubharay 347</title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1 id="header">Our Official Website</h1>
<table align="center">
<tr>
<td class="style1"><asp:HyperLink id="HyperLink1" runat="server"
NavigateUrl="~/WebForm1.aspx">First Page</asp:HyperLink>
</td>
<td class="style1"><asp:HyperLink id="HyperLink2" runat="server"
NavigateUrl="~/WebForm2.aspx">Second Page</asp:HyperLink>
</td>
</tr>
</table>
</asp:ContentPlaceHolder>
<style type="text/css">
.style1 {
width: 90px;
height: 50px;
text-align: center;
}
#header {
text-align: center;
background-color: lime;
}
</style>
</div>
</form>
</body>
</html>
Webform1.aspx
<%@ Page Title="" Theme="Skin1" Language="C#" MasterPageFile="~/Site1.Master"
AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication11.WebForm1"
%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.s1{
font-weight:bolder;
font-style:italic;
text-align:center;
background-color:aqua;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1 class="s1">Welcome to First Page of website</h1>
<asp:Button SkinID="BLUE" ID="Button1" runat="server" Text="Button"/>
<asp:Button SkinID="ORANGE" ID="Button2" runat="server" Text="Button"/>
</asp:Content>
Webform2.aspx
<style type="text/css">
.s1{
font-weight:bolder;
font-style:italic;
text-align:center;
background-color:orange;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1 class="s1">Welcome to Second Page of website</h1>
<asp:Button SkinID="RED" ID="Button1" runat="server" Text="Button"/>
<asp:Button SkinID="YELLOW" ID="Button2" runat="server" Text="Button"/>
</asp:Content>
.skin
<%--
Default skin template. The following skins are provided as examples only.