1.1 Introduction To HTML (Hypertext Markup Language)
1.1 Introduction To HTML (Hypertext Markup Language)
INTRODUCTION
HTML elements are the building blocks of HTML pages. With HTML constructs, images and
other objects such as interactive forms may be embedded into the rendered page. HTML provides
a means to create structured documents by denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written
using angle brackets. Tags such as <img /> and <input /> directly introduce content into the
page. Other tags such as <p> surround and provide information about document text and may
include other tags as sub-elements. Browsers do not display the HTML tags, but use them to
interpret the content of the page.
1.2 History
In 1980, physicist Tim Berners-Lee, a contractor at CERN, proposed and prototyped ENQUIRE,
a system for CERN researchers to use and share documents. In 1989, Berners-Lee wrote a memo
proposing an Internet-based hypertext system. Berners-Lee specified HTML and wrote the
browser and server software in late 1990. That year, Berners-Lee and CERN data systems
engineer Robert Cailliau collaborated on a joint request for funding, but the project was not
formally adopted by CERN. In his personal notes from 1990 he listed "some of the many areas in
which hypertext is used" and put an encyclopedia first.
1
The first publicly available description of HTML was a document called "HTML Tags", first
mentioned on the Internet by Tim Berners-Lee in late 1991. It describes 18 elements comprising
the initial, relatively simple design of HTML. Except for the hyperlink tag, these were strongly
influenced by SGML guide, an in-house Standard Generalized Markup Language (SGML)-based
documentation format at CERN. Eleven of these elements still exist in HTML 4.
Further development under the auspices of the IETF was stalled by competing interests. Since
1996, the HTML specifications have been maintained, with input from commercial software
vendors, by the World Wide Web Consortium (W3C). However, in 2000, HTML also became an
international standard (ISO/IEC15445:2000). HTML 4.01 was published in late 1999, with further
errata published through 2001. In 2004, development began on HTML5 in the Web Hypertext
Application Technology Working Group (WHATWG), which became a joint deliverable with the
W3C in 2008, and completed and standardized on 28 October 2014.
2. VERSIONS OF HTML
The first version of HTML that supported inline images and text controls. HTML 1.0 was very
limited in terms of styling and presentation of content. In HTML 1.0 for example, we could not
use tables or frames, specify fonts, change page background, or use forms because of these
limitations, every web page created with HTML 1.0 looked the same with similar background and
the type of font used.HTML 1.0 was only supported by Linux (a non-graphical browser running
on UNIX) and Mosaic. There are total 16 tags in HTML 1.0. So a new version was released which
is HTML 2.0.
2
2.2 HTML 2.0 (1995)
HTML 2.0 was considerably improved to support forms with limited set of form elements such as
text boxes, and option buttons, change of page background, use of tables. Between HTML 1.0 and
HTML 2.0 W3C was formed. There are total 43 new tags and 13 old tags so, total 56 tags are
present in HTML 2.0. Here, need of tables and styling was required so, a new version was formed
which is HTML 3.20.
This version included support for creating tables and expanded options for form elements. This
version also allowed web pages to include complex mathematical equations. Although HTML 3.20
specification included support for CSS (cascaded style sheets), browser manufactures did not
support it very well in their browsers. In this version 11 new tags were introduced, 49 old tags
were continued and 13 tags were removed, so total 60 tags were present in this version. In HTML
3.20 there was not any option for inserting photo, video, images and audio. So a new version was
developed which have all the features so, version 4.01 was developed.
This version added support for style sheets and scripting ability for multimedia elements. In HTML
4.0 with the use of style sheets, it is now possible to change the appearance/look of the website by
changing just the style sheet itself. In the earlier versions of HTML making the same changes for
the entire website meant changing the styling information in the individual pages. 20 new tags
were added, 50 old tags were continued and 10 tags were removed. With some new improve
features HTML 5.0 came in the market.
HTML 5 is a markup language used for structuring and presenting content on the World Wide
Web. It is the fifth and current major version of the HTML standard, and include XHTML. HTML
5 was first released on 22 January 2008. Its goals are to improve the language with support for the
latest multimedia and other new features. To keep the language both easily readable by peoples
and consistently understood by computers and devices such as Web browsers. So, in this version
there are total 62 old tags, 34 new tags were present and 12 tags were removed.
3
3. HTML TAGS
Tags Functions
<BASE> It specifies the base URL/target for all relative URLs in a document.
<PLAINTEXT> This tag indicates that all following text is to be taken literally, up to the
end of the file.
<LISTING> Tag is used to define the style of the list item marker.
<ISINDEX> Tag used to put a text area in the document for querying.
4
3.2 HTML 2.0 tags
<!--> Comment
<ISINDEX> Tag used to put a text area in the document for querying.
<OBJECT> This tag indicates that all following text is to be taken literally, up to the
end of the file.
<PLAINTEXT> This tag indicates that all following text is to be taken literally, up to the
end of the file.
<UL> Tag defines an unordered (bulleted) list.
<B> This tag is used to create a 'b' element, which represents bold text in an
HTML document.
<BASE> Improved Base address
<CODE> Code
5
<COL> Specifies column properties for each column within a <colgroup>
element
<EM> Emphasized
<HTML> This tag tells the browser that this is an HTML document.
<I> Italic
<KBD> Keyboard
<LINK> Link
<STRONG> Strong
<SAMP> Sample
6
3.3 HTML 3.20 tags
<B> This tag is used to create a 'b' element, which represents bold text in an
HTML document.
<BASE> Improved Base address
<CODE> Code
<EM> Emphasized
<HTML> This tag tells the browser that this is an HTML document.
<I> Italic
<KBD> Keyboard
<LINK> Link
7
<PRE> Preformatted Text
<STRONG> Strong
<BIG> This tag instructs the browser to show the enclosed text in a bigger font.
<BASEFONT> Specifies a default color, size, and font for all text in a document.
<FONT> This tag instructs the browser to alter the text color or size.
<SMALL> This tag instructs the browser to show the enclosed text in
a smaller font.
<SUB> This tag instructs the browser to show the enclosed text as a subscript.
<SUP> This tag instructs the browser to display the enclosed text as
a superscript.
<SMALL> This tag instructs the browser to show the enclosed text in
a smaller font.
<SUB> This tag instructs the browser to show the enclosed text as a subscript.
<SUP> This tag instructs the browser to display the enclosed text as
a superscript.
8
3.3.3 Deprecated tags
Tags Functions
<LISTING> Tag is used to define the style of the list item marker.
<PLAINTEXT> This tag indicates that all following text is to be taken literally, up to
the end of the file.
<!--...--> The HTML 'comments' tag is used for creating comments within our
HTML code.
<A> The HTML a tag is used for creating a hyperlink to either another
document, or somewhere within the current document.
<AREA > The HTML area tag is used for defining an area in an image map.
<BASE> The HTML base tag is used to specify a base URI for relative links.
<BIG > The HTML big tag is used for specifying large text.
<BLOCKQUOTE> The HTML blockquote tag is used for indicating long quotations.
<BODY > The HTML body tag is used for indicating the main content section of
the HTML document. The body tag is placed between the </head> and
the </html> tags.
9
<BR > The HTML br tag is used for specifying a line break.
<CAPTION > The HTML caption tag is used for creating table captions.
<CITE > The HTML cite tag is used for indicating a citation.
<DIV > The HTML div tag is used for defining a section of our document. With
the div tag, we can group large sections of HTML elements together
and format them with CSS.
<DL > The HTML dl tag is used for declaring a definition list.
<h1>,..<h6> The HTML h1 tag is used for specifying level 1 headings. There are 6
levels of headings (h1 - h6) with h1 the most important and h6 the least
important.
<HEAD > The head element can contain other HTML tags that contain metadata.
Metadata provides information about the document such as title,
description, keywords etc.
<HR > The hr tag could be used in a scene change in a story or a transition to
another topic within a section
<INPUT > An input tag is given a type attribute to specify the type of control, and
a name attribute so that the form can make a reference to it.
<LI > The li tag is placed inside either a ol tag or a ul tag to represent each
individual item within that list.
<LINK> The link tag is often used for linking to an external style sheet.
<META > Metadata can include document description keywords. It can also be
used to refresh the page or set cookies.
<OL > Ordered lists are usually ordered by numbers (1,2,3…), letters (A,
B,C…), roman numerals (i, ii, iii…) etc.
<OPTION > The optiontag can be used as a child of a select, datalist, and
a optgroup element.
10
<SELECT > The select tag is used with the option tag to produce a list of options
that the user can choose from.
<STYLE > The style tag is used for styling the content.
<TABLE > Tables consist of the table element as well as other table-related
elements.
<TD > The td element is used with the table element to allow data to be
presented in the table.
<TITLE > The title is usually displayed at the top of the browser title bar.
<UL > The ul element should be used to list items that do not need to be
presented in order.
<ACRONYM > The HTML acronym tag is used for indicating an acronym.
<APPLET > The HTML applet tag is used for embedding a Java applet within an
HTML document.
<BDO > The HTML bdo tag is used for overriding the text direction.
<BUTTON > The HTML button tag is used for creating a button within forms.
<DEL > The HTML del tag is used for markup of deleted text.
<FRAME > The HTML frame tag is used to specify each frame within a frameset.
11
<LABEL> It allows us to attach a caption/label to a control so that the user knows
what the control is for.
<NOFRAME> Defines an alternate content for users that do not support frames.
<NOSCRIPT> Defines an alternate content for users that do not support client-side
scripts.
<SPAN> It is commonly used for applying styles, but can also be useful for
specifying a language, or specifying text direction.
<BASEFONT> Specifies a default color, size, and font for all text in a document.
<FONT> This tag instructs the browser to alter the text color or size.
<ISINDEX> Tag used to put a text area in the document for querying
12
3.5 HTML 5.0 tags
<MENUITEM> It specifies a command that a user can invoke from a popup menu.
<NOSCRIPT> Defines an alternate content for users that do not support client-side
scripts
<RTC> It marks a ruby text container for ruby text components in a ruby
annotation.
<DEL> The HTML del tag is used for markup of deleted text.
13
3.5.2 HTML 5.0 New tags
Tags Functions
<RP> It is used for the benefit of browsers that don't support ruby annotations.
14
<RUBY> It specifies a ruby annotation.
<TRACK> It specifies a text track for media such as video and audio.
<WBR> It specifies a line break opportunity for very long words and strings of
text with no spaces.
<APPLET> The HTML applet tag is used for embedding a Java applet within an
HTML document.
<FRAME> The HTML frame tag is used to specify each frame within a frameset.
<NOFRAME> Defines an alternate content for users that do not support frames
15
<DIR>
<DL>
<DT>
<H1>,...<H6>
<ISINDEX>
<LI>
<LISTING>
<MENU>
<NEXTID>
<P>
<PLAINTEX
T>
<TITLE>
<UL>
<!-->
<A>
<DIR>
<DL>
<ISINDEX>
<OBJECT>
<P>
<PLAINTEX
T>
16
<UL>
<B>
<BASE>
<BLOCKQU
OTE>
<BODY>
<BR>
<CITE>
<CODE>
<EM>
<FORM>
<HEAD>
<HR>
<HTML>
<I>
<IMG>
<INPUT>
<KBD>
<LI>
<LINK>
<LISTING>
<MENU>
17
<META>
<OL>
<PRE>
<SAMP>
<SELECT>
<STRIKE>
<STRONG>
<TEXTAREA
>
<TITLE>
<TT>
<U>
<VAR>
<XMP>
<CAPTION>
<COL>
<DFN>
<MAP>
<MAP>
<OPTION>
<TABLE>
<TFOOT>
18
<TH>
<TR>
4 CONCLUSION
In this assignment, I have studied about the HTML, HTML versions and tags that are introduced
throughout the versions .I learned about the HTML tags that are deprecated and comparison
between the tags that are available in the latest HTML version i.e., HTML5.
19