HTML HTML intro.
  1. HTML intro
  2. Web pages and you
HTML basics
  1. HTML getting started
  2. HTML basics
  3. HTML document
HTML text
  1. HTML text formatting 1
  2. HTML text formatting 2
  3. HTML text formatting 3
  4. HTML fonts
  5. HTML entities
HTML links
  1. HTML links
  2. HTML email links
HTML images
  1. HTML images
  2. HTML image maps
HTML forms
  1. HTML forms
  2. HTML form labels
  3. HTML fieldset/legend
HTML tables
  1. HTML tables
  2. HTML tables concepts
HTML frames
  1. HTML frames
HTML backgrounds/color
  1. HTML backgrounds
  2. HTML colors
  3. HTML color shades
  4. HTML color usage
HTML style/layout
  1. HTML stylesheets
  2. HTML div/span
HTML media
  1. HTML audio
  2. HTML video
  3. HTML objects
  4. HTML download media
HTML declaratives
  1. HTML head section
  2. HTML meta tags
  3. HTML scripts
  4. HTML declarations
  5. HTML document types
Practical HTML
  1. HTML tag rules
  2. HTML things to avoid
  3. URL formatting
  4. URL encoding/decoding
  5. HTML use/access
  6. HTML publish work
HTML extras
  1. HTML marquees
HTML wrap-up
  1. HTML history
  2. HTML summary

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 tutorial 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

Parts of the URL explained:

Common protocols and their usage

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 access the files on their webservers.

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
© Copyright 2013-2014 Landofcode.com
Terms of use | Privacy policy | Copyright information