“link” tag

<link rel=”stylesheet” type=”text/css” href=”sheet1.css” media=”all” /> – allows HTML authors to associate other documents with the document containing the link tag. Alternate style sheets: <link rel=”stylesheet” type=”text/css” href=”sheet1.css” title=”Default” /> <link rel=”alternate stylesheet” type=”text/css” href=”bigtext.css” title=”Big Text” /> <link rel=”alternate stylesheet” type=”text/css” href=”zany.css” title=”Crazy colors!” /> It is also possible to group alternate style sheets … Continued

Element definitions

Replaced elements – the element’s content is replaced by something that is not directly represented by document content. For example, <img> Nonreplaced elements – their content is presented by the user agent (generally a browser) inside a box generated by the element itself. For example, <span>hi there</span> is a nonreplaced element, and the text “hi … Continued

ASP.NET Page Info

Just couple articles: MSDN – The ASP.NET Page Object Model 4GuysFromRolla – How ASP.NET Web Pages are Processed on the Web Server By Bryan Xu

runat=”server”

The only way for an ASP.NET page to realize that you are using a server control (like asp:Textbox or input type=”text”) is to have runat=”server” in the control tag. This is very important; forgetting it will cause the ASP.NET engine to pass over the control as HTML. By Bryan Xu

Validation Controls

ASP.NET supplies 6 different validation controls, each with some distinct properties besides the few common ones: RequiredFieldValidator RangeValidator MaximumValue (In code behind, MaximumValue=DateTime.Today.ToString(“yyyy/MM/dd”)) MinimumValue (1850/1/1) Type (String or Date) RegularExpressionValidator ValidationExpression – put in regular expression here. There are a few of pre-defined ones. CompareValidator ControlToValidate & ControlToCompare CustomValidator Double-click on design mode to get … Continued