Introduction to HTML
HTML stands for Hyper Text Markup Language. HTML is a language that is used to create webpages. It is a unique code that tells your web browser how to display information on the page. An HTML file is a text file containing small markup tags. The markup tags tell the browser how to display information on the page. HTML file has an extension .html or .htm. An HTML requires no special software, you can create a HTML document in notepad.
HTML Tags
HTML tags are used to mark-up HTML elements . HTML tags are begin with an open angle bracket (<) and end with aclose angle bracket (>) like <tagname>. HTML tags are not case sensitive, <b> means the same as <B>. There are two types of HTML tags.
1) Paired tags
A paired tag has a two tags starting tag and ending tag . For example, <b> tag is used for bold text and </b> tag is used to close <b> tag. Thus text will be bold until HTML not found </b> tag.
2) Singular tags
Singular tags are stand-along tags. A stand-alone tag does not have a companion tag.For example <BR> tag us ysed to line break, so that this tag doesn't require any companion tag.
HTML
This tag that tells a Web browser where the HTML in your document begins
and ends.This element tell the browser that file contains HTML coded information.When
we create an html document we start document with <html> and </html>
<html> indicates that your HTML document starts and </html> documents
tells the browser the HTML document ends.
HEAD
This tag doesn't affect what's on the page but you should get in the
habit of putting it in. Below <head> put this tag.
TITLE
This element is placed between <head></head>tag, you should
have the title of your document. The title is typically display in the title
bar at the top of the browser window. Title indetifies your page
BODY
BODY comes after the HEAD tag. Body tag indicates that your BODY section
has started. Between the BODY tags,Between the BODY tags,you can find all content
text, images, links, and so on. the Body section directly shows on HTML page.
Basic HTML
Page
Using the <html>, <head>, <title> and <body>
tags we make a basic HTML using a text editor such as Notepad like so......
<head>
<title> This is title</title>
</head>
<body> This is body section</body>
</html>
Now Save file with .html or .htm extension. Then open HTML document. You will found text
if you see title bar, you may see following text
