Вы находитесь на странице: 1из 6

Meta Tag A special HTML tag that provides information about a Web page.

Unlike normal HTML tags, meta tags do not affect how the page is displayed. Instead, they provide information such as who created the page, how often it is updated, what the page is about, and which keywords represent the page's content. A meta tag is a tag that is, a coding statement in the Hypertext Markup Language (HTML) that describes some aspect of the contents of a Web page. The information provided in a meta tag is used by search engines to index a page so that someone searching for the kind of information the page contains will be able to find it. The meta tag is placed near the top of the HTML in a Web page as part of the heading. There are several kinds of meta tags, but the most important for search engine indexing are the keywords meta tag and the description meta tag. The keywords meta tag lists the words or phrases that best describe the contents of the page. The description meta tag includes a brief one- or two-sentence description of the page. Both the keywords and the description are used by search engines in adding a page to their index. Some search engines also use the description to show the searcher a summary of the page's contents. The <meta> tag always goes inside the head element.

Let's see two common types of meta tags, then we'll discuss exactly how they are used in more depth:

In the example above, you can see the beginning of the page's "head" area as noted by the <HEAD> tag -- it ends at the portion shown as </HEAD>. Meta tags go in between the "opening" and "closing" HEAD tags. Shown in the example is a TITLE tag, then a META DESCRIPTION tag, then a META KEYWORDS tag. What are Static Web Pages? A static page is a page that gives you exactly the same response over and over again. It is your basic HTML page. The static page consist of urls that are free of any special characters, remains in its final form and has no server-side interaction. An example of a static url is (xxx equals your domain name): xxxxxxx.com/index.html Advantages of Static Web Pages Since static web pages are html driven, they offer the webmaster the following quick advantages. 1) For those who have little or no experience with design, the static url allows for an easy and quick solution to getting a website up and running; 2) There are no surprises--what one person sees, is what all will see; 3) The pages are easier for the search engine spiders to crawl and index; and 4) No database downtime or uptime. 5) Quick and easy to put together, even by someone who doesn't have much experience. 6) Ideal for demonstrating how a site will look. 7) Cache friendly, one copy can be shown to many people.

Disadvantages to Static Web pages The major downside to a static web site is when the site begins to grow. 10 to 20 pages is pretty manageable to update, but when it gets to 200+ static pages the daily maintenance and cost can grow exponentially -- in time and money. Difficult to maintain when a site gets large. Difficult to keep consistent and up to date. Offers little visitor personalization (all would have to be client side). What are Dynamic Pages Dynamic pages consist of pages where the logic is maintained separately from the content. The content is stored in the database until the variable parameters of the dynamic url tells the database repository what items to pull into the page as it loads. Based on the url's parameters, the server will return different content. Dynamic pages are usually coded in such scripting languages as CGI, ASP, PHP, Perl, Cold Fusion, JSP and others. You can usually tell if an url is dynamically generated because it will include question marks, equal signs, percentage signs, and ampersands. An example of a dynamic url is (xxx equal your domain name: xxxxxxxxx.com/index.php?lang=NLD&name=home The important element in the url above, is the portion after the ?. It is the portion after the ? that contains the query string - the part that changes. Advantages Offers highly personalized and customized visitor options. Database access improves the personalized experience (as opposed to using just client side cookies) Scripts can read in data sources and display it differently depending on how it is run. Can create the illusion of being updated regularly using time and date sensitive routines (or even randomizers) to display pre-written text. Disadvantages Personalized pages are not very cache friendly. Requires a basic minimum knowledge of the language being used. Scripts need more consideration when uploading and installing, particularly to Unix-related servers. Another Disadvantages of Dynamic Pages Google and some of the other search engines can handle simple dynamic urls, but if the query parameters gets to long or complicated (having more than one ? for example) their crawler will ignore the link completely. So, where do the search engines stand on the issue of dynamic links today? Some web spiders are taking the plunge and crawling websites with dynamic links, which is a positive. But on the negative side, there are still some web spiders that will not venture near a dynamically-created page for fear of getting stuck in the page and being lead through some poorly written code and thus, causing a possible major server crash.

Web Portal A web portal or links page is a web site that function as a point of access to information on the World Wide Web. A portal presents information from diverse sources in a unified way. Apart from the standard search engine feature, web portals offer other services such as e-mail, news, stock prices, information, databases and entertainment. Portals provide a way for enterprises to provide a consistent look and feel with access control and procedures for multiple applications and databases, which otherwise would have been different entities altogether. Examples of public web portals are AOL, Excite, iGoogle, MSN, Netvibes, and Yahoo. A portal is generally a vehicle by which to gain access to a multitude of 'services'. A web site is a destination in itself. As such the term website refers to a location on the Internet (see this) that is unique and can be accessed through a URL (see this). By that definition a web portal is in fact also a website. However there is a distinction between the two terms based on the subject and content of the website. A website is also a web portal if; It transmits information from several independent sources that can be, but not necessarily are, connected in subject; thus offering a public service function for the visitor which is not restricted to presenting the view(s) of one author. The Portal and website can be differentiated as: Authentication: Portal: It provides facility of Logging-In. Provides you with information based on who you are. e.g. mail.yahoo.com, gmail.com, rediffmail.com Website: No log-in. e.g. www.yahoo.com Personalization: Portal: Limited, focused content. Eliminates the need to visit many different sites. E.g. You type in your user name and password and see your yahoo mail only. Website: Extensive, unfocused content written to accommodate anonymous users needs. Customization : Portal: You will select and organize the materials you want to access. Organized with the materials you want to access. Website: Searchable, but not customizable. All content is there for every visitor. E.g. you can navigate to yahoo mail, yahoo shopping, geo cities, yahoo group. If you wish to use any of these services you will either have to authenticate yourself and see things personalized to you or you can simply visit sections that are for everyone like yahoo news were if you are not signed in then the default sign in is guest. Digital Signature A digital signature is basically a way to ensure that an electronic document (e-mail, spreadsheet, text file, etc.) is authentic. Authentic means that you know who created the document and you know that it has not been altered in any way since that person created it. Digital signatures rely on certain types of encryption to ensure authentication. Encryption is the process of taking all the data that one computer is sending to another and encoding it into a form that only the other computer will be able to decode. Authentication is the process of verifying that information is coming from a trusted source. These two processes work hand in hand for digital signatures.

Client side validation and Server side validation Client side validation runs in the browser to check that the form values are of the correct type. JavaScript should always be used on the client side since it is supported by both Netscape and IE. (VBScript is supported only by IE). Server side validation checks the code that is submitted to make sure it is correct. Good applications will use both server and client validation. One reason for this is that it would be possible for someone else to write a form that calls your .asp page - they might not use client side validation and might throw in garbage data. The client side validation runs in the browser where as server side validation runs on server. It actually checks if the submitted data is correct or not. It is suggested that one should use both types of validation. Client Side Validation Validating on the client using java script has the following items in its favor/Advantages of client side validation:

Immediate Feedback - The user sees the error right away and can correct it before he or she submits the request. Behavioral Interactivity - You can create a "responsiveness" to your form that mimics a wizard or "steps" and gives the user the sense of progression. This is especially true of Flash Forms where the Tabbed or paned interface gives a nice "step through" type approach. Maximize Performance - This is a great reason to use flash forms. Since most requests from a form hit the database in some fashion, validating on the client reduces database and web server traffic by intercepting requests before they reach the server. On a busy server this can be very helpful. In addition, the user doesn't have to wait through the page refresh to see the error and correct it.

Client-side validation has some minuses too/ Disadvantages of Client side Validation:

Browser Compatibility Issues - On a very busy public site you may have to "work around" browsers you plan to support. Not all of them will handle your nifty validation routine correctly. While it's nice to say "most people are on browser nnn, you may not be in a position to thumb your nose at the minority still using browser xxx. You'll note I'm carefully not taking any sides here (ha). For example, if you are doing a craft site your target audience may be little blue haired grandmothers. If your code generates JavaScript errors on Netscape 3.01 (just an example!) you might expect someone (probably a grandson or granddaughter) is going to be cursing you and ruing the day your were born because he or she is going to spend 2 hours that day on the phone with Grandma. Sometimes it is safe to ignore older browsers. Security Settings - Some folks turn off scripting because they see it as a security risk. For these folks client side validation will simply not work. Easily Thwarted - This is not a reason to not use Javascript validation. It's just something to keep in mind. In most cases getting around validation routines is pretty simple. If someone has malicious intent your client-side validation will not keep them from submitting false data to the server. JavaScript validation should not be the sole validation you use for this reason. It's great for enhancing the user experience and lousy for ensuring that no bad data is ever submitted.

Server Side Validation Server side validation is the process of painstakingly checking the inputs and making sure they contain what they are supposed to contain. You should always validate any fields with requirements on the server. If it's supposed to be a date make sure it is a date - even if it's passed from your cool little widget as a hidden field. If it is supposed to be a number, make sure it is a number. If it is supposed to be n characters long, make sure it's n characters long. Parts of URL A URL (Uniform Resource Locator, previously Universal Resource Locator) is the unique address for a file that is accessible on the Internet. A common way to get to a Web site is to enter the URL of its home page file in your Web browser's address line. However, any file within that Web site can also be specified with a URL. Such a file might be any Web (HTML) page other than the home page, an image file, or a program such as a common gateway interface application or Java applet. The URL contains the name of the protocol to be used to access the file resource, a domain name that identifies a specific computer on the Internet, and a pathname, a hierarchical description that specifies the location of a file in that computer. On the Web (which uses the Hypertext Transfer Protocol, or HTTP), an example of a URL is: http://www.ietf.org/rfc/rfc2396.txt The first part is the protocol. In this case, we are requesting to view a file using hypertext transfer protocol. Another popular protocol is ftp (file transfer protocol). The protocol is followed by: // The next part, www.ieft.org, is usually the name of the domain that stores the file you will view through the browser. This is made up of two parts. The first is the host name (in this case "answers") and the second is the top-level domain. Other top level domains include .org and .mil The next part: rfc/rfc2396.txt is the path. It is the location of a text file or page to be accessed on that computer Discuss various types of web browsers Web Browsers are software installed on the PC. To access the Web we need a web browser, such as Netscape Navigator, Microsoft Internet Explorer or Mozilla Firefox. Currently we must be using any sort of Web browser while we are navigating through any site. On the Web, when we navigate through pages of information this is commonly known as web browsing or web surfing. There are four leading web browsers: Explorer, Firefox, Netscape and Safari but there are many others browsers available. While developing a site, we should try to make it compatible to as many browsers as possible. Especially site should be compatible to major browsers like Explorer, Firefox, Netscape, Opera and Safari.

Internet Explorer Internet Explorer (IE) is a product from software giant Microsoft. This is the most commonly used browser in the universe. This was introduced in 1995 along with Windows 95 launch and it has passed Netscape popularity in 1998. Netscape Netscape is one of the original Web browsers. This is what Microsoft designed Internet Explorer to compete against. Netscape and IE comprise the major portion of the browser market. Netscape was introduced in 1994. Mozilla Mozilla is an open-source Web browser, designed for standards compliance, performance and portability. The development and testing of the browser is coordinated by providing discussion forums, software engineering tools, releases and bug tracking. Browsers based on Mozilla code is the second largest browser family on the Internet today, representing about 30% of the Internet community. Konqueror Konqueror is an Open Source web browser with HTML 4.01 compliance, supporting Java applets, JavaScript, CSS 1, CSS 2.1, as well as Netscape plugins. This works as a file manager as well It supports basic file management on local UNIX file systems, from simple cut/copy and paste operations to advanced remote and local network file browsing. Firefox Firefox is a new browser derived from Mozilla. It was released in 2004 and has grown to be the second most popular browser on the Internet. Safari Safari is a web browser developed by Apple Inc. and included in Mac OS X. It was first released as a public beta in January 2003. Safari has very good support for latest technologies like XHTML, CSS2 etc. Opera Opera is smaller and faster than most other browsers, yet it is full- featured. Fast, userfriendly, with keyboard interface, multiple windows, zoom functions, and more. Java and non Java-enabled versions available. Ideal for newcomers to the Internet, school children, handicap and as a front-end for CD-Rom and kiosks. Lynx Lynx is a fully-featured World Wide Web browser for users on Unix, VMS, and other platforms running cursor-addressable, character-cell terminals or emulators.

Вам также может понравиться