Free Online Programming Tutorials

Let’s Learn Web Programming!





Archive for April, 2009

This is a simple example of the JavaScript shiftkeypressed event
Read the rest of this entry »

Here’s the way to Extract Attributes from XML Data -

Example -
< xsl : template match="element-name" >
Attribute Value:
< xsl:value-of select="@attribute"/ >
< xsl:apply-templates/ >


Additionally, for the XML parser to ignore a certain section of your XML document, which syntax is correct?


< ! [CDATA[ Text to be ignored ]] >

Simple HTML page example

Apr-18-2009 By

< html >
< head >
< title > Title of page < /title >
< /head >
< body >
This is my first homepage. < b > This text is bold < /b >
< /body >
< /html >

Introduction to HTML

Apr-18-2009 By

What is an HTML File?

• HTML stands for Hyper Text Markup Language
• An HTML file is a text file containing small markup tags
• The markup tags tell the Web browser how to display the page
• An HTML file must have an .htm or .html file extension
• An HTML file can be created using a simple text editor

mouseButtonclickEvent-

< html >
< head >

< script type="text/javascript" >
function whichButton()
{
if (event.button==1)
{
alert(”Left mouse button was clicked!”)
}
else
{
alert(”Right mouse button was clicked!”)
}
}
< /script >
< /head >
Read the rest of this entry »

Templates in PHP

Apr-16-2009 By

Templates for handy for reuse & easy maintenance

< ! - - template.tpl - - >
< html >
< title > {TITLE} < /title >
< body >
{CONTENT}
< /body >
< /html >
Read the rest of this entry »

To integrate javascript with the html, the following syntax must be used:
< script language=“JavaScript” >
Javascript program
< / script >
Read the rest of this entry »

• Javascript is integrated with HTML and Navigator2.02.
• Javascript facilitates the developer with the properties related to document windows ,frames,forms,loaded documents and links.
• This is an interpreter based language and the source code files are directly executed at runtime.
Read the rest of this entry »

PHP gives you lot many advantages such as-

• Database support
- MySQL
- SQL Server
- Oracle
- ODBC
• XML parser
• SMTP
• PDF
• GD Library : Image Manipulation

Read the rest of this entry »

How PHP works

Apr-14-2009 By

php_working1