Thursday 12 February 2015

Heading Tag In HTML with Example


Making Headings in HTML:

We use various HTML tags for styling the text. Tags use for Headings are
<h1>, <h2> ,<h3> and so on and there ending tags are </h1>, </h2> ,</h3> respectively. when you apply starting tag at starting of some word or line and it's ending tag at end of that word or line then this would be a heading.
For Example:

Heading Tag Application:-

1: <h1> We are applying Heading Tag </h1>
2: <h2> We are applying sub-heading tag </h2> and so on.

Result:

1:-

We are applying Heading Tag

2:-

 We are applying sub-heading tag

Go to HTML Text Editor to test

You can further make sub headings by using tags <h3> <h4> and their ending tags </h3> </h4>

Friday 6 February 2015

HTML Basic Starting Tags

HTML stands for Hyper Text Markup Language. It is a language understand by web browsers, hence we can say that it is internet language. One can make Web pages using HTML. In HTML we use CSS for styling purpose. We also use Java Script for programming purpose. Basically four languages HTML, CSS, JAVA SCRIPT and PHP are used for web development.  But all these are apart from our subject of this article. In this article I will tell you basic Tags of HTML.


DOCTYPE Deceleration Tag:-

It describes the type of document while starting HTML content we first of all write type of document which is called DOCTYPE deceleration. For HTML we write this tag as:
<!DOCTYPE html>
after that we proceed to write HTML. But know this tag is not necessary as all browsers understand type of document without DOCTYPE deceleration. You can apply that tag if your browser is not understanding type of docoment.


HTML Tag:-

Between HTML tag whole HTML content is written. We have to apply opening and closing tag of HTML before and starting HTML docoment.

Opening Tag:-

<html>

Closing Tag:-

</html>
but this is also not necessary now a days. But you should apply that tag for precision.


Head Tag:-

Head tag gives information about the Document.Title is written between the closing and opening tag of Head. This Tag describes about document and shows contents above the body tag. After Head  Body tag is used.

Starting Tag:

<head>

Ending Tag:

</head>

Title Tag:-

This tag simply is used for assigning title to page as name implies. Every thing written between starting and ending tag of title is your title of webpage which will show on the tab after the favicon.

Starting Tag:

<title>

Ending Tag:

</title>

Body Tag:-

Between starting and ending tag of body whole text is written which is visible. After title of webpage whole content is written between the body tag. In Body tag you can further use all tags for html for example Heading tag, tags used for styling writing, link tag and much more.

Starting Tag:

<body>

Ending Tag:

</body>


Structure Of HTML page:


<!DOCTYPE html>
<html>
<head>
<title> Title </title>
</head>
<body>
Content Written for visibility, with further tags
</body>
</html>



Popular Posts

 

© 2013 Grasp Info. All rights resevered. Designed by Graspinfo

Back To Top