-
Step 1
ExampleThe format for using a URL consists of a protocol resource followed by a resource. HyperText Transfer Protocol (HTTP) is the protocol used. The proper format of a URL includes entering HTTP followed by a colon and then two forward slashes (://). The resource name follows which can be an Internet Protocol (IP) number or a descriptive Web site name such as www(dot)yahoo(dot)com. The IMG tag can also be used to point to resources or files.
-
Step 2
ExampleThere are two types of URLs used for Web sites: Absolute and relative. Absolute URLs point directly to a resource or file. A relative URL points to a resource or file in relation to a current directory. Both A HREF (to access a Web page) and IMG tag can be used when working with relative URLs. Using relative URLs makes a Web site easier to maintain if a Web site needs to be transferred. No retyping of resources would be required.
-
Step 3
ExampleA HREF is used to access a Web page either in an existing Web site or through another Web site. A HREF can be used to access a wide range of resource types including text files, word processing documents, PDF files, image files, videos, sound files, compressed files, and executable or application files.
-
Step 4
ExampleThere are also different types of URL types through the use of different protocols.
For example, mailto is for e-mail, File Transfer Protocol (FTP) permits users to upload, delete, and download documents from a server, the FILE scheme allows users to access files on their local computers, the NEWS scheme allows access to newsgroups, and TELNET permits users to login in to a server to access resources.









Comments
goodselfme said
on 2/17/2009 Great post! My computer crashed. Please keep in contact until I can get back to normal Thanks