Chapter 2 How The Web Works
Chapter 2 How The Web Works
Works
Internet
The Server – is the software that allows the computer to communicate with
other computers; however, it is common to use the word “Server” to refer to
the computer as well.
Example:
1. Apache – Open Source Software
2. Microsoft Internet Information Services (IIS)
Internet Protocol (IP)
address uniquely assign in every computer/ device.
Is useful for computer software
Domain Name System (DNS)
DNS – was developed to allow us to refer to that server by its domain name. It is
more accessible to humans.
Domain Name Server – Responsible for matching the text domain names to their
respective numeric IP addresses.
http://www.example.com/2012/sample/first.html
Protocol Domain Name Directory Path
Host Name
Http://
The first thing the URL does is define the protocol that will be used for that
particular transaction. The letters HTTP let the server known to the use of
hypertext transfer protocol, or get into “web-mode”
www.example.com
The next portion of the URL identifies the website by its domain name. In this
example, the domain name is example.com
/2012/sample/first.html
This is the absolute path through directories on the server to the requested
HTML document, first.html. The words separated by slashed are the directory
names, starting with the root directory of the hosts (as indicated by the initial
‘/’).
HTML Introduction
In HTML, a color can be specified using hue, saturation, and lightness (HSL) in
the form:
hsl(hue, saturation, lightness)
Hue is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, and
240 is blue.
Saturation is a percentage value, 0% means a shade of gray, and 100% is the
full color.
Lightness is also a percentage, 0% is black, 50% is neither light or dark, 100% is
white
RGBA Value
RGBA color values are an extension of RGB color values with an alpha channel
- which specifies the opacity for a color.
An RGBA color value is specified with:
rgba(red, green, blue, alpha)
The alpha parameter is a number between 0.0 (fully transparent) and 1.0 (not
transparent at all):
HSLA Value
HSLA color values are an extension of HSL color values with an alpha channel -
which specifies the opacity for a color.
An HSLA color value is specified with:
hsla(hue, saturation, lightness, alpha)
The alpha parameter is a number between 0.0 (fully transparent) and 1.0 (not
transparent at all):
Cascading Style Sheet
Styling HTML with CSS