Thursday, July 12, 2012

HTML Headings



/***********************************************************************
/* Description: Description : HTML Headings are defined with <h1> to <h6> tags
/* dialog box.
/* See the example bellow, how to use it
***********************************************************************/




The <h1> tag defines defines the most important heading. <h6> defines the least important heading.:

1.Use HTML headings for headings only. Don't use headings to make text BIG or bold.

2.Search engines use your headings to index the structure and content of your web pages.

3.Since users may skim your pages by its headings, it is important to use headings to show the document structure.

4.H1 headings should be used as main headings, followed by H2 headings, then the less important H3 headings, and so on.

/****** How to use:****************************************************************************************/

<h1>This is a book </h1>
This is a book




Thursday, July 5, 2012

Html <a> Tag



/***********************************************************************
/* Description: Description : Use Html attribute <a>
/* dialog box.
/* See the example bellow, how to use it
***********************************************************************/




The <a> tag defines an anchor. An anchor can be used in two ways:

1.To create a link to another document, by using the href attribute
2.To create a bookmark inside a document, by using the name attribute
The <a> element is usually referred to as a link or a hyperlink.

The most important attribute of the <a> element is the href attribute, which indicates the link’s destination.

By default, links will appear as follows in all browsers:

An unvisited link is underlined and blue
A visited link is underlined and purple
An active link is underlined and red



/****** How to use:****************************************************************************************/

<a href="http://www.codefound.net">Vist Code Found</a>
Vist Code Found