HTML stands for HyperText Markup Language
HTML is the source code for all webpages. HTML is like a teabag. The teabag is what gives the flavor to the tea. Without the teabag, the tea is just hot water. Without the html, the website is just a blank page.
HTML editors such as Hot Metal Pro® and Microsoft Frontpage® may be easier to use than just learning html, but with html you have greater control over your site.
Tags are special items that tells the browser what to do. A tag is enclosed in the left and right brackets <>. Tags should really
be in lowercase letters.
Example:
Text
Text(under big tag)
Deprecated tags are tags that are marked for destruction when newer versions of HTML are released. Browsers will still read them, but many books and experts don't recomend using them. Some examples of deprecated tags are bold(b), and italic(i).
| Tag attribute | Full tags | Empty tags |
|---|---|---|
| Is a Starting Tag required? | Required | Required |
| Is an Ending Tag required? | Required | Forbidden |
| Can the tag contain other tags? | Yes | No |
Tag attributes are different descripters which tells the browser just how to
display something. For example, the following table has 2 columns, one with an
attribute(column 1) and one without an attribute(column 2).
| Attribute | No Attribute |
|---|---|
| This cell is Left Aligned | This cell is Center Aligned (default) |
Some tags and attributes are deprecated. This means that they may not be supported by the next version of HTML. Browsers tend to support these tags, but many experts and books don't recomend using them. I personally use them only if I have to.
Eg. The align attribute is deprecated in most cases. The width attribute, which I used in the table above is also deprecated. The bold tag is just one of the deprecated tags.
*There are 2 instances in which this rule does not apply:
Rules of XHTML
Here are some basic things about DHTML:
Do's and Dont's when building your page
So you know HTML and wanna build a website. But did you know that there are somethings you really should not do? It is vital to your site that you follow these rules:
Graphics rules:
Graphics can be used to liven up a web page. However. you have to be careful about the size of your graphics.
Graphics that are very big tend to take a long time to load, therefore scaring off visitors to your site. Here are the basic rules of using graphics:
Content is the most vital part of any website. Graphics and style are nice touches, but even the most beautiful website is bogus without content. However, even content has some basic rules:
Even though content is the most important part of a website, a pageful of content looks bland and boring. An unorganized page can be confusing. Some basic rules can turn your boring chaotic page into a masterpiece of style.
Why was HTML created in the first place?
HTML: Who and Why?
HTML was created by Tim Berners-Lee created a simple text language that allowed people to browse and make their own sites. This language was so simple that it could be learned in a matter of hours. This language was a part of SGML that had a handful of tags. However, the language became too simple. Other developers than added to the language. Their was only one rule with new additions: If people liked it; it stayed, If people didn't like it; it was removed.
Then, in 1993, a big debate over the basic HTML code started. Some people wanted to add the (include) or (embed) tag. However, Mark Andreesen wanted to just add the (img) tag. Others were concerned with ease. However, Mark wanted to ship ASAP.
HTML got it's big break when Microsoft® came into the picture. Later, HTML 3 was proposed. In the middle of work on it, the goals for it were too big, so it was abondoned. A new, lowertech HTML 3.2 was started and finished. Then, HTML 4 (also known as cougar) emerged, allowing a lot more freedom to do what you wanted to do. However, the big browsers, Microsoft Internet Explorer® and Netscape Navigator® started to compete over each other.
Things got even more confusing when DHTML hit the net. This new language stood for Dynamic Hypertext Markup Language. DHTML allowed for much greater control over the look and feel of a page.
Also around this time, XML, Extensible Markup Language and Hypertext Markup Language combined to form XHTML, aka Extensible Hypertext Markup Language. XHTML allowed for much more tag control and allowed the user to create their own tags.
Different animation languages allowed for special things like submitable forms and pictures moving around. A variety of these languages have emerged, including Java, Javascript, Cgi, and Flash. A person can also add video clips and music and sound to a page.