0% found this document useful (0 votes)
51 views

Introduction To HTML

HTML is a markup language used to define the structure and layout of web pages. It uses tags to annotate text for display by web browsers. Tim Berners-Lee created HTML in 1991. Key HTML elements include headings, paragraphs, images, and divisions to build the blocks of web pages. The basic structure of an HTML page includes the <DOCTYPE>, <html>, <head>, and <body> tags.

Uploaded by

uma devi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Introduction To HTML

HTML is a markup language used to define the structure and layout of web pages. It uses tags to annotate text for display by web browsers. Tim Berners-Lee created HTML in 1991. Key HTML elements include headings, paragraphs, images, and divisions to build the blocks of web pages. The basic structure of an HTML page includes the <DOCTYPE>, <html>, <head>, and <body> tags.

Uploaded by

uma devi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

INTRODUCTION TO HTML:

HTML stands for Hyper Text Markup Language. It is used to


design web pages using markup language. HTML is the combination of Hypertext and
Markup language. Hypertext defines the link between the web pages. Markup language is
used to define the text document within tag which defines the structure of web pages. This
language is used to annotate (make notes for the computer) text so that a machine can
understand it and manipulate text accordingly. Most of markup (e.g. HTML) languages are
human readable. Language uses tags to define what manipulation has to be done on the text.
HTML is a markup language which is used by the browser to manipulate text, images and
other content to display it in required format. HTML was created by Tim Berners-Lee in
1991. The first ever version of HTML was HTML 1.0 but the first standard version was
HTML 2.0 which was published in 1999.

HTML Version Year

HTML 1.0 1991

HTML 2.0 1995

HTML 3.2 1997

HTML 4.01 1999

XHTML 2000

HTML 5 2014

Elements and Tag: HTML uses predefined tags and elements which tells the browser about
content display property. If a tag is not closed then browser applies that effect till end of
page.
An HTML element is defined by a starting tag. If the element contains other content, it ends
with a closing tag, where the element name is preceded by a forward slash as shown below
with few tags −

Start Tag Content End Tag


<p> This is paragraph content. </p>
<h1> This is heading content. </h1>
<div> This is division content. </div>
<br />

So here <p>....</p> is an HTML element, <h1>...</h1> is another HTML element. There are
some HTML elements which don't need to be closed, such as <img.../>, <hr /> and <br />
elements. These are known as void elements.
HTML page structure: The Basic structure of HTML page is given below. It contain some
elements like head, title, body, … etc. These elements are used to build the blocks of web
pages.

<DOCTYPE! html>: This tag is used to tells the HTML version. This currently tells that the
version is HTML 5.

<html>: This is called HTML root element and used to wrap all the code.

<head>: Head tag contains metadata, title, page CSS etc. All the HTML elements that can be
used inside the <head> element are:

 <style>
 <title>
 <base>
 <noscript>
 <script>
 <meta>
 <title>

<body>: Body tag is used to enclosed all the data which a web page has from texts to links.
All of the content that you see rendered in the browser is contained within this element.

You might also like