62,046
社区成员
发帖
与我相关
我的任务
分享
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PartyInvites.Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>New Year's Eve at Jacqui's!</h1>
<p>We're going to have an exciting party. And you're invited!</p>
</div>
<div><label>Your name:</label><input type="text" id="name" /></div>
<div><label>Your email:</label><input type="text" id="email"/></div>
<div><label>Your phone:</label><input type="text" id="phone" /></div>
<div>
<label>Will you attend?</label>
<select id="Willattend">
<option value="">Choose an Option</option>
<option value="true">Yes</option>
<option value="false">No</option>
</select>
</div>
<div>
<button type="submit">Submit RSVP</button>
</div>
</body>
</form>
</html>
body {
#form1 label{width:120px;display:inline-block;}
#form1 input{margin:2px;margin-left:4px;width:150px;}
#form1 select{margin:2px;width:154px;}
button[type=submit] {margin-top:5px;}
}
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PartyInvites.Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="stylesheet" type="text/css" href="PartyStyles.css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>New Year's Eve at Jacqui's!</h1>
<p>We're going to have an exciting party. And you're invited!</p>
</div>
<div><label>Your name:</label><input type="text" id="name" /></div>
<div><label>Your email:</label><input type="text" id="email"/></div>
<div><label>Your phone:</label><input type="text" id="phone" /></div>
<div>
<label>Will you attend?</label>
<select id="Willattend">
<option value="">Choose an Option</option>
<option value="true">Yes</option>
<option value="false">No</option>
</select>
</div>
<div>
<button type="submit">Submit RSVP</button>
</div>
</body>
</form>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PartyInvites.Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<link rel="stylesheet" type="text/css" href="PartyStyles.css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<h1>New Year's Eve at Jacqui's!</h1>
<p>We're going to have an exciting party. And you're invited!</p>
</div>
<div><label>Your name:</label><input type="text" id="name" /></div>
<div><label>Your email:</label><input type="text" id="email"/></div>
<div><label>Your phone:</label><input type="text" id="phone" /></div>
<div>
<label>Will you attend?</label>
<select id="Willattend">
<option value="">Choose an Option</option>
<option value="true">Yes</option>
<option value="false">No</option>
</select>
</div>
<div>
<button type="submit">Submit RSVP</button>
</div>
</body>
</form>
</html>