PATH: Instructional Server> COP 1830>

COP 1830 Examples and Templates


Templates for HTML Files

In order provide examples of source code and not have them interpreted and rendered as web pages, the source code examples have been saved in text files (ending in ".txt"). If you save a copy of any of these files, be sure to rename them to have appropriate extensions. Because of a weakness in Microsoft Internet Explorer (MSIE), the pages of plain text retrieved by the Source Code links below are misinterpreted as HTML content and rendered rather than being displayed as source code. To view the source code when using MSIE, simply use the View Source choice off the contextual (right-click) menu when viewing the rendered page. Other browsers do not have this issue and will display the source code properly when the links are chosen.

XHTML Examples


Notes about Posting Web Pages on a Server


Examples of Cascading Style Sheets


Examples of JavaScript Files

Preview the notes about Browser Security Configuration for Scripts

Examples Based on Script Position

The examples below are dynamic web pages with JavaScipt content. Many will execute their scripts immediately when accessed. To view the source code, use the View Source choice off the contextual (right-click) menu when viewing the rendered page.

Other Examples


PATH: Instructional Server> COP 1830>