Learn HTML Tutorial – Brief Introduction

So, what is an HTML document? HTML document is a plain text (also known as ASCII) file that can be created using any text editor (eg. Notepad, TextPad).

You can also use a word processor like Microsoft Word and save the document as “text only” or “text only with line breaks”.

These are the basic that you should know.

  • HTML documents are text files made up of HTML elements.
  • HTML elements are defined using HTML tags

In a few minutes, you’ll learn what are HTML elements and tags. But, first, let’s discuss about HTML editors.

Learn HTML Tutorial – HTML Editors

You can easily edit HTML files with an HTML editor. Beginners would find WYSIWYG HTML editor quite useful.

WYSIWYG is an acronym for “what you see is what you get”. It means that you can design your HTML document visually, the way you use a word processor – instead of writing the markup tags in a plain text file. An example of WSYIWYG HTML Editor is Microsoft Frontpage.

You can use Microsoft Frontpage after learning some basic HTML tagging.


My choice of HTML Editor is the free, 1st Page 2000. It’s both a plain text editor and a WYSIWG HTML Editor.


I love it for it’s simplicity and powerful functions.


Learn HTML Tutorial – HTML Elements & HTML Tags

Remember the basic about HTML documents?

  • HTML documents are text files made up of HTML elements.
  • HTML elements are defined using HTML tags

An element is a fundamental component of the structure of a text document. For example: heads, tables, paragraphs and lists. Elements can contain plain text, other elements or both.

You can use HTML tags to mark the elements of an HTML document.

HTML tags consist of a left angle bracket (<), a tag name and a right angle bracket (>). Tags are usually paired.

For example,
<B>
and
</B>
to start and end the tag instruction.

The end tag looks just like the start tag except a slash (/) precedes the text within the brackets.

  • HTML tags are used to mark-up HTML elements
  • HTML tags are surrounded by the two characters (<) and (>)
  • The surrounding characters are called angle brackets
  • HTML tags normally come in pairs like <b> and </b>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The text between the start and end tags is the element content
  • HTML tags are not case sensitive, <b> means the same as <B>

Some elements may include an attribute, which is additional information that is included inside the start tag.

For example, you can specify the alignment of images (right, center or left) by including the appropriate attribute with the image source HTML code.

The following tag defines an HTML table: <table> With an added border attribute, you can tell the browser that
the table should have no borders: <table border=”0″>

  • Attributes always come in name/value pairs like this: name=”value”.
  • Attributes are always specified in the start tag of an HTML element.
  • Attributes and attribute values are also not case-sensitive.

HTML is not case sensitive. <image> is equivalent to <IMAGE> or <iMaGe>.


If you want to follow the latest web standards, you should always use lowercase tags. The World Wide Web Consortium (W3C) recommends lowercase tags in their HTML 4 recommendation, and XHTML (the next generation HTML) demands lowercase tags.

Learn HTML Tutorial – The Minimal HTML Documents

Every HTML document should contain certain standard HTML tags.

Each HTML document consists of head and body text. The head contains the title, and the body contains the actual text that is made of paragpraphs, lists and other elements.

The required elements are shown in the example below:


<html>

<head>

<TITLE> One simple HTML Document</TITLE>

</head>

<body>

<H1> I Love HTML</H1>

<P> Let’s learn HTML. It’s easy to use. This is the first paragraph.</P>

<P> This is the second paragraph.</P>

</body>

<html>

This is what the above HTML document will look like in a browser.

I Love HTML

Let’s learn HTML. It’s easy to use. This is the first paragraph.

This is the second paragraph.

The required elements are the <thtml>, <head>, <title> and the <body> tags (and their corresponding end tags).

Popularity: 1% [?]

There Are 4 Responses So Far. »

  1. thanks! :)
    siti fairus´s last blog post ..Things From My Backyard.. My ComLuv Profile

    [REPLY]

  2. this is a really good info to share! nice entry..

    cheers..
    chugie´s last blog post ..Fatin dapat kawan baru My ComLuv Profile

    [REPLY]

  3. Thanks for sharing. Very useful ^___^
    Shareen´s last blog post ..Preview of My Snugg Mei Tai My ComLuv Profile

    [REPLY]

  4. thanks for the info
    zh-ena´s last blog post ..Dah Pandai Demand – Macam Artis plak My ComLuv Profile

    [REPLY]

Post a Response

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif 
CommentLuv Enabled
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_bye.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_good.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_negative.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_scratch.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_wacko.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_yahoo.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_cool.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_heart.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_rose.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_smile.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_whistle3.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_yes.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_cry.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_sad.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_unsure.gif 
http://mombloggersplanet.com/wp-content/plugins/wp-monalisa/icons/wpml_wink.gif