Friday, July 26, 2013

HTML LINE BREAK AND HR TAG

Line bread tag with horizontal rule tag.

<html>
<head>
<Title>HTML CHAPTER 3</Title>
</head>
<body>
<P>This is<br> a link break<br> tag. br tag no need to closed
<h1 align="center">This is h1 tag with center alignment</h1>
<hr>This tag define Horizontal rule</hr>
<hr>This tag define Horizontal rule</hr>
<hr>This tag define Horizontal rule</hr>
<hr>This tag define Horizontal rule</hr>
<hr>This tag define Horizontal rule</hr>
</body>
</html>

Preview


This is
a link break
tag. br tag no need to closed

This is h1 tag with center alignment


This tag define Horizontal rule

This tag define Horizontal rule

This tag define Horizontal rule

This tag define Horizontal rule

This tag define Horizontal rule  

HTML HEAD TAG AND PARAGRAPH TAG

How to use head tag and paragraph tag in html. read below is given heading tag and paragraph code with preview.

<html>
<head>
<Title>HTML Chapter 2</Title>
</head>
<body>
This is my firs home page. <b>This text is bold.</b>

<p>this is a paragraph</p>
<p>this is a paragraph</p>
<p>this is a paragraph</p>
<p>this is a paragraph</p>
<p>this is a paragraph</p>
Heading Tags<p>
<h1>This is H1 tag</h1>
<h2>This is H2 tag</h2>
<h3>This is H3 tag</h3>
<h4>This is H4 tag</h4>
<h5>This is H5 tag</h5>
<h6>This is H6 tag</h6>
</body>
</html>

Preview:-

This is my firs home page. This text is bold.
this is a paragraph
this is a paragraph
this is a paragraph
this is a paragraph

this is a paragraph


Heading Tags

This is H1 tag

This is H2 tag

This is H3 tag

This is H4 tag

This is H5 tag
This is H6 tag

Wednesday, July 24, 2013

HTML Introduction

Hyper Text Markup Language(HTML) is coding language used to create a hypertext documents for the world wide web.  It used to link a text, image or file. An HTML file must have an HTM or HTML file extension. An HTML file can be created simple text editor like notepad.

Open notepad and type the following text:-

<html>
<head>
<Title>Page Title</Title>
</head>
<body>
1. Save this file as yourpage.html. <p>
2. Opern your save file with browser like firefox or chrome.
</body>
</html>

Web page Preview:-

1. Save this file as yourpage.html.
2. Opern your save file with browser like firefox or chrome.