Sunteți pe pagina 1din 6

Assignment

On
Html

Submitted To
Submitted By
Ms. Nisha Sethi
Gurmail Singh
Lect.
PGDCA
Roll
NO. 4001

Q1. Introduction to HTML?

Ans. The language used to develop web pages is called Hyper Text Markup Language (HTML)
HTML is the language interpreted by a Browser. Web Pages are also called HTML
Documents.HTML is a set of special codes that can be embedded in text to add formatting and
linking information. HTML is specified as TAGS in an HTML document (i.e. the Web Page).
HTML invented by Tim Berners-Lee while at CERN, the European Laboratory for Particle
Physics in Geneva.

HTML TAGS

Tags are instructions that are web pages are embedded directly into the text of the document.
An HTML tag is a signal to a browser that it should do something other than just throw text up
on the screen. By convention all HTML tags begin with an open angle bracket(<) and end with a
close angle bracket (>).

HTML Tags can be of two types:-

Paired Tags

A Tag is said to be paired tag if it, along with a companion tag, flanks the text.

For E.g. <B> tag is a paired tag. The <B> tag with its companion tag</B> causes the text
contained between them to be rendered in bold. The effect of other paired tags is applied only to
the text they contain.

<B> called opening tag.

</B> is called the closing tag.


The opening tag activities the effects and the closing tag turns the effect off.

Singular Tags

The Second type of tag is the singular or stand-alone tag. A stand-alone tag does not have a
companion tag.

For E.g. <BR> tag will insert a line break. This tag does not require any companion tag.

Tools Required for web Publishing

A Web page can be very easily created using any simple text editor. In widows XP, We
can use Notepad or WordPad. All HTML files are plain ASCII text files with .htm or
.html extension. Any program which has the capability to save files in ASCII format can
be used to create HTML files.

For viewing the HML files, require a web browser like Internet Explorer, Netscape
navigator/communicator can be used for this.

In internet Explorer, the Fileopen command should be used to open a file on the local
host or on the internet

Documents Tags

The Document tags are required in every HTML page. They define the different parts of
the document. An HTML document has two distinct parts- a head and a body.

<HEAD>

<TITLE>A Web Page<.TITLE>

</HEAD>

<BODY> </BODY>

For Example
<HTML>

<HEAD>

<TITLE> ENTER THE TITLE HERE</TITLE>

</HEAD>

<BODY>

This is the body of an HTML page.

</BODY>

</HTML>

Container and Empty Tags

Those tags which have the form <TAG> and </TAG> are called container tags. They hold or
contain the text and other HTML elements between the two tags. The <TITLE>, <HTML>,
<HEAD>, and <BODY> tags are all container tags.

The syntax for container tags is:

<TAG>Text or other HTML elements go here</TAG>

Empty Tags

Some tags that do not require ‘</>’ tags are called empty tags.

<HR> is the example of empty tags.

Paragraph Tag

This tag is used for to inform a web browser what text in your document constitutes a
paragraph.

<p> SiNgH </p>

BR Tag

BR tag used for insert the line in the web page.

<p>

Gurmail Singh<br>

Class PGDCA<br>
Roll No.4001<br>

</p>

Version history of the standard

HTML version timeline


November 24, 1995

HTML 2.0 was published as IETF RFC 1866. Supplemental RFCs added
capabilities:

• November 25, 1995: RFC 1867 (form-based file upload)


• May 1996: RFC 1942 (tables)
• August 1996: RFC 1980 (client-side image maps)
• January 1997: RFC 2070 (internationalization)

In June 2000, all of these were declared obsolete/historic by RFC 2854.


January 1997

HTML 3.2 was published as a W3C Recommendation. It was the first version developed and
standardized exclusively by the W3C, as the IETF had closed its HTML Working Group in September
1996.

HTML 3.2 dropped math formulas entirely, reconciled overlap among various proprietary
extensions and adopted most of Netscape's visual markup tags. Netscape's blink element and
Microsoft's marquee element were omitted due to a mutual agreement between the two
companies. A markup for mathematical formulas similar to that in HTML wasn't standardized
until 14 months later in MathML.

HTML 4.0was published as a W3C Recommendation. It offers three variations:

• Strict, in which deprecated elements are forbidden,


• Transitional, in which deprecated elements are allowed,
• Frameset, in which mostly only frame related elements are
allowed;

Initially code-named "Cougar", HTML 4.0 adopted many browser-specific


element types and attributes, but at the same time sought to phase out
Netscape's visual markup features by marking them as deprecated in favor of
style sheets. HTML 4 is an SGML application conforming to ISO 8879 - SGML.

HTML5 was published as a Working Draft (link) by the W3C.

Although its syntax closely resembles that of SGML, HTML5 has abandoned
any attempt to be an SGML application and has explicitly defined its own
"html" serialization, in addition to an alternative XML-based XHTML5
serialization.

S-ar putea să vă placă și