HTML
HTML introduction
HTML basics
HTML text format 1
HTML text format 2
HTML text format 3
HTML links
HTML images
HTML image maps
HTML forms
Fieldset/legend tags
Email links
HTML labels
HTML tables
HTML frames
HTML backgrounds
HTML colors
HTML color shades
HTML color usage
HTML marquees
HTML fonts
HTML entities
HTML stylesheets
HTML layout
HTML div/span
HTML audio
HTML video
HTML objects
HTML d'load media
HTML meta tags
HTML scripts
HTML declarations
HTML head section
HTML document types
HTML tag rules
HTML things to avoid
URL formatting
Encoding and decoding
HTML use/access
HTML publish work
History of HTML
HTML summary

Programming

Programming intro
Java

Markup

First webpage guide
XHTML

Style & Layout

CSS

Browser scripting

Javascript
VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

URL format

When you try to access a webpage on the internet, the web address you put into the browser has a certain format. In its entirety (including the http:// part), this web address is known as a URL.

This lesson focuses on:

URL definition and construction

URL stands for Uniform Resource Locator. A Uniform Resource Locator takes on a certain format through which you can create connections and/or access information using various protocols. A URL is the global address for a document or resource on the internet.

URL syntax:

protocol://domainOrIPAddress:port/path/filename

URL example:

http://www.landofcode.com/html/url-format.php

Various parts of the URL explained:

Common protocols and their usage

Common protocols
Protocol Usage
http Access a file on the world wide web
https Access a file on the world wide web through a secure connection
file Access a file on the local computer
ftp Access a file on an FTP server
gopher Access a file on a gopher server
news Access a Usenet newsgroup
telnet Start a telnet connection
mailto Create a link to an email message from a webpage
WAIS Access a file on a WAIS server

HTTP

The URL type most internet users are used to. The standard HTTP webpage access URL.

Example of accessing a file on the world wide web:

http://www.landofcode.com/html/html-basics.php

HTTPS

Seen across online stores for data security reasons, the HTTPS protocol will secure data as its in transmission.

Example of accessing a file on the world wide web through a secure connection:

https://www.amazon.com

FTP

The FTP protocol is commonly used by webmasters to work on their files.

Example of accessing a file through ftp:

ftp://www.somesite.com/ftp/file.exe

Usenet News

The Usenet News contains many discussion groups you can subscribe to.

Example of accessing a Usenet newsgroup:

news:alt.binaries.dvds

Mailto

Mailto provides a link to an email message from a webpage

Example of creating a link to an email message from a webpage:

<a href="mailto:someone@yahoo.com">Contact Us!</a>

File

You can actually access your computer's file directory through a browser using File.

Example of accessing a file on the local hard drive:

file:///c:/windows/system/file.dll

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments