Introduction to Web Programming

 v Webpage:-

ü  Web page is a web document which consists of text, graphics, and media.

ü  Any webpage is created with HTML tags or any markup language.

ü  It is suitable for any browser and World Wide Web.

ü  The term web page is used when talking about scripting language. They have different extensions like .html, .htm etc.

ü  Web pages can either be static or dynamic. Static pages show the same content each time they are viewed.

ü  Dynamic pages have content that can change each time they are accessed. These pages are typically written in scripting languages such as PHP, Perl, ASP, or JSP.

ü  The scripts in the pages run functions on the server that return things like the date and time, and database information.

v Website:-

ü  A website is a collection of web pages (www) files that includes a beginning file called a home page. A company or an individual tells you how to get to their web site by giving you the address of their home page.

ü  From the homepage, you can get to all the other pages on their site.

ü  For example:- the web site for IBM has the home page address of http://www.ibm.com.       (The home page address actually includes a specific file name like index.html but, as in IBM’S case, when a standard default name is set up, users don’t have to enter the file name).

ü  IBM’s home page address leads to thousands of pages (but a web site can also be just a few pages).

ü  Since site implies a geographic place, a web site can be confused with a web server. A server is a computer that holds the files for one or more sites. A very large web site may be spread over a number of servers in different geographic locations.

ü  IBM is a good example its web site consists of thousands of files spread out over many servers in worldwide locations.

ü  Website can be categorized as per the requirement. Such categories include educational, social networking, informational, etc.


Comments