Xhtml Code Snippets


15 April, 2013   

An example code for XHTML Strict starter

20 July, 2013   

Source code for Flash XHTML valid

09 March, 2011   

Default XHTML start code for designing a layout or template for your website. Great for working on several clients/projects and do not want to retype this code over and over again.

12 September, 2013   

Example HTML Common DOCTYPES

09 March, 2011   

Here are Doctype Template

An example code of how to best insert a flash movie into an XHTML document.

20 July, 2013   

Source code for Flash movie into valid XHTML

Example shown here how to best insert a flash movie into an XHTML document.

Nice example of how to best insert a flash movie into an XHTML document.

01 January, 2013   

This is the general page template. It has all of the essentials (along with a favicon link - not essential).

01 January, 2013   

Basic template for xhtml transitional

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

Tries to make out of the given string a xhtml-compatible string, that means that the return-string could be wrapped within a xml.

How to disable Future Dates in AJAX Control Toolkit CalendarExtender Control. Author of this code is Mudassar Khan

This example code shows how to make text inputs with rounded corners.

12 May, 2012   

How to prevent users from selecting past or previous day dates in ASP.Net AJAX Control Toolkit CalendarExtender control. Author of this code is Mudassar Khan

Below example showing how to define and use asp:AccessDataSource

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.

04 February, 2011   

This is different than the default code that Flash provides. That typically involves the <embed> tag and is not valid XHTML. This doesn't use that, and is fully valid.

27 August, 2012   

HTML code for Top & Bottom Halves Layout