Archive for April, 2009

Turn Your PC Into a Web Server

Your Windows PC as a Web Server

If you want other people to view your pages, you must publish them.
To publish your work, you must save your pages on a web server.
Your own PC can act as a web server if you install IIS or PWS.
IIS or PWS turns your computer into a web server.
Microsoft IIS [...]

Continue reading »

HTML URL Encoding

URL encoding converts characters into a format that can be safely transmitted over the Internet.

URL – Universal Resource Locator
Web browsers request pages from web servers by using a URL.
The URL is the address of a web page like: http://www.w3schools.com.

URL Encoding
URLs can only be sent over the Internet using the ASCII character-set.
Since URLs often contains characters [...]

Continue reading »

HTML 4.0 Event Attributes

New to HTML 4.0 is the ability to let HTML events trigger actions in the browser, like starting a JavaScript when a user clicks on an HTML element. Below is a list of attributes that can be inserted into HTML tags to define event actions.
If you want to learn more about programming with these events, [...]

Continue reading »

HTML 4.0 Standard Attributes

HTML tags can have attributes. The special attributes for each tag are listed under each tag description. The attributes listed here are the core and language attributes that are standard for all tags (with a few exceptions):

Core Attributes
Not valid in base, head, html, meta, param, script, style, and title elements.

Attribute
Value
Description

class
class_rule or style_rule
The class [...]

Continue reading »

HTML Scripts

Add scripts to HTML pages to make them more dynamic and interactive.

Examples
Insert a script
This example demonstrates how to insert a script into your HTML document.
Work with browsers that do not support scripts
This example demonstrates how to handle browsers that do not support scripting.

Insert a Script into HTML Page
A script in HTML is defined with the [...]

Continue reading »

HTML Uniform Resource Locators

HTML Links
When you click on a link in an HTML document like this: Last Page, an underlying <a> tag points to a place (an address) on the Web with an href attribute value like this: <a href=”lastpage.htm”>Last Page</a>.
The Last Page link in the example is a link that is relative to the Web site that [...]

Continue reading »