Technologies that drive the web
There
are three technologies that drive the web: HTML, CSS(Cascading
Style Sheets), and Java-script. Each one has its own distinctive
purpose and all three of them fit very nicely together.
Here
is a quick summary diagram of these technologies and their main purpose.
Let’s start
with HTML. HTML describes the document structure. For example, HTML can
describe that a document has one heading, two paragraphs, and a footer. Note
that HTML does not tell you anything about how these components are visually
laid out, what they look like, what color they are, etc. It only identifies the
components that make up the document. As an analogy, if I were to describe a
house, stating that it has three rooms and a kitchen, that wouldn’t inform you
of the color of the kitchen walls or the size of the three rooms. The only
thing you would know would be what components make up the house.
Cascading
Style Sheets, or CSS, is in charge of specifying styles: colors, layouts,
font styles, font sizes, etc. In other words, any stylistic types of things.
For example, if we have a heading in our HTML document, CSS can specify the
font color and font size of the text identified as the heading in HTML.
The third
technology is the Java-script programming language. Its job is to provide
functionality or behavior. For example, Java-script allows us to specify
functionality that executes when an HTML document finishes loading into the
browser or what happens when I click on one of the headings.
No comments:
Post a Comment