Default.aspx
----------------------------------------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Hello Word</title>
<style type ="text/css">
.myBackGroud {background-color :Yellow;}
</style>
<script type ="text/javascript">
function Hi(){
alert("안녕하세요");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
HTML 레벨 :
<a href="http://www.naver.com">네이버이동</a><br />
CSS 레벨 :
<span class="myBackGroud">스타일 시트 적용됨</span> <br />
JavaScript 레벨 :
<input type ="button" value="안녕" onclick="Hi()" /><br />
ASP.Net 레벨 :
<asp:Calendar ID="myClendar" runat="server"
BackColor="Yellow" ></asp:Calendar>
<a href ="FrmHi.aspx">FrmHI.aspx 이동</a><br />
<a href="FrmVB.aspx">FrmVB.aspx 이동</a>
<a href="FrmSay.aspx">FrmSay.aspx 이동</a>
</div>
</form>
</body>
</html> |