Building a simple web page—enhanced for Internet Explorer Mobile

All this theory and we do not have anything to look at for examples. To demonstrate what we have discussed in this chapter, we will write a very simple support home page for a fictitious consultant company. For brevity and to ensure that we can discuss the topics covered in this chapter, this page will not be served from SharePoint. It will be an ASP.NET Web Forms page. Let us dive in with a look at the HTML and CSS for the basic page.


The following is the code for support.aspx. As you can see, it is fairly generic, and a real page would have a lot more content and imagery.

First, let's look at the page head:

<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD ...

Get Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.