OBJECT: Adding Web Forms with Code to Your Site
CODE: public partial class Demos_CodeBehind : BasePage
{
protected void Page_Load(object sender, EventArgs e) { Label1.Text = "Hello World; the time is now " + DateTime.Now.ToString(); }
}
OUTPUT: OBJECT: Adding Formatted Text
CODE: <div class="style1"> <h1 class="style2"> hi there Visitor and Welcome to planet wrox</h1> </div> <div>
<h1>Hi there visitor and welcome to Planet Wrox</h1>
<p>
We're glad you're <span class="style1">paying a visit</span> to
<a href="http://www.PlanetWrox.com">www.PlanetWrox.com</a>, the coolest music community site on the Internet.
</p>
<p>
Feel free to have a look around; there are lots of interesting <strong>reviews and concert pictures</strong> to be found here.
</p>
</div>
OUTPUT:
OBJECT: Using the Format and Table Menus
CODE: <div> <table class="style1"> <tr> <td class="style2"> Bulleted Lists</td> <td> <ul> <li>Indie Rock</li> <li>Techno</li> <li>Punk</li> </ul> </td> </tr> <tr> <td class="style2"> Numbered list</td> <td> <ol> <li>Jazz</li> <li>HipHop</li> <li>Rock</li> </ol> </td> </tr> <tr> <td