Introduction:
What is HTML?
HTML or Hyper Text
Mark-up Language is the primary language for formatting web pages.With
HTML you describe what a page should look like, what types of fonts to use,
what color text should be, where paragraph marks come and many more aspects
of the document. It consists of simple text files (ASCII) plus "tags"
or codes. All HTML documents are written in the extension of ".htm" or
".html" this tells the browser that it's looking at a HTML document. HTML
documents will not recognize the white space and line breaks unless they are
used inside certain special tags which we'll describe later.That means you need
not write it tidily. You can use spaces and tabs anyhow you like, and break
lines anywhere.
Tags
All HTML documents
are created by using a tags.Tags have beginning and ending identifiers to communicate
to the browser the beginning and ending text that is to be formatted . Most
of the tags have an opening and a closing tag.There are some tags that
do not have an ending tag . Each tag is enclosed with the "less than"
(i.e. <) and "greater than" (i.e. >) sign. The closing tag usually looks
the exact same as the opening tag with the exception of the "forward slash"
(i.e. /) that identifies it is a closing tag. The first word between the
angle brackets is the tag's name. Any further words and characters are the attributes.Tags
are not case sensitive.
Formatting text using tags are described in Text
control.
Writing html
document
There are many
web authoring tools to help you create your web pages.You can simply type the
HTML documents on the word processor, or Notepad, WordPad, or Simple Text,
and save it as a text file.While naming the document first give
your document a name and then add a suffix (html or htm)to it.The basic html
structure is described in Basic html files.