HTML and CSS for absolute beginners
In the last lesson we looked at how to setup our learning environment, by choosing a good text editor and installing some important add-ons for Firefox that makes our learning lot easier.
In this lesson we are going to talk about little bit of history behind HTML and CSS. But I’m not going to talk about in detail, which may bore to you. But if you interested in, you have the Wikipedia for greater reference.
What is HTML?
HTML is stands for Hypertext markup language, which allows describing documents or web pages in a predefined standards and link between each other.

HTML created by Tim Berners-Lee (Current president of W3C – World Wide Web Consortium) in late 1989 based on SGML (Standard generalized markup language). As SGML, HTML uses tags to describe the document structures. For an example title of the document will enclose by a title tag, a paragraph will enclose by a paragraph tag and so on.

We’ll talk about the tags, tag structures and tags hierarchies lot more in-depth in later lessons. Now we explore, why we need a styling language?
As we discussed earlier, HTML uses tags. Tags start with a left angle bracket and ends with right angle bracket.
<title>
Most of the time a tags has a closing tag. Closing tag starts with angle bracket and a backslash.

But there are some alternatives where a closing tag not necessary. For an instance image tag. In this case you can use the backslash at the end of the opening tag.

A HTML tag can have multiple attributes. These attributes differ according to the tags we use.
Tags have a predefined hierarchy. Basically HTML document should start with the <html> tag and end with </html> closing tag. All other tags should nest with this parent tags. Let’s look at the tag hierarchy.

Let’s create our first HTML documents in the next lesson.
Until then, happy new year. :)



Post new comment