Basic Learning HTML : Document Object Model – DOM

Author : admin

The Document Object Model is a standard way in which web browsers represent HMTL and XML documents that will allow programs and scripts to dynamically access and update the content, structure and style of documents. In this discussion, we will basic learning HTML with sub topic Document Object Model, also know as DOM.

The history of the Document Object Model is intertwined with history of the browser wars of the late 1990s between Netscape Navigator and Microsoft Internet Explorer, as well as with that of JavaScript and JScript, the first scripting languages to be widely implemented in the layout engines of web browsers. … continue reading : Basic Learning HTML : Document Object Model – DOM.

3 September 2009 at 12:17 - Comments

Basic Learning JavaScript

Author : admin

There are three basic to building of the web page, HTML/XHTML, CSS and JavaScript. HTML/XHTML as the core / main language to build a web page. CSS ( Cascading Style Sheet ), we used to adding style to our web pages and allowing we to lay them out in a way that is not only attractive but also adds visual impact. JavaScript is the third corner, allowing pages to do more than just be static documents.
… continue reading : Basic Learning JavaScript.

3 September 2009 at 11:56 - Comments

Basic Learning PHP : Looping

Author : admin

In PHP programming, we are often required to repeat a block of code, instead of adding several almost equal lines in a script we can use loops to perform a task like this. PHP has three types of loop constructs that all do the same thing, repeat a block of code a number of times, FOR loop, DO loop and WHILE loop. There are other types that have specific function in array : FOREACH. With FOREACH, it will loops through a block of code for each element in an array.

The FOR loop provides a compact way to create a loop with a specified number of times. We use the FOR loop when we know in advance how many times a block of code should run or execute. The FOR loop is also known as definite loop and it’s preferred by most programmers because it’s more convenient to use. See following example performs the FOR loop. … continue reading : Basic Learning PHP : Looping.

1 September 2009 at 13:01 - Comments