понедельник, 18 февраля 2013 г.

Structuring Your Web Page, Structuring Websites


You can headings to organize your web into hierarchical levels. Headings also act as separators in a words processing documents. The top heading (H1) actually is the title for your page, i.e.., It is appears in a browser windows at the top of the web page. These are 6 levels of heading.

You can also use a second-level heading (denoted by the H2 tag) to define a major division in your page, and a third level heading (Using the H3 tag) to define a sublevel division with a major division. Most browsers support upto six different levels.

BODY>

H1> This is a top-level heading /H1>

H2> This is a second-level Heading /H2>

H3> This is a third-level Heading /H3>

H4>This is a fourth-level Heading /H4>

H5> This is a fifth-level Heading /H5>

H6> This is a sixth-level Heading /H6>

/BODY>

Create Same Page Linking In HTML, Link In Same Page Code

Linking To a Place In The Same HTML File

To link to another place in the same HTML file requires both an HREF anchor and a NAME anchor. An HREFanchor that links to a NAME anchor has a special from:

 a href=”#anchorname”> anchortext /a>

Notice the # symbol. In an HREF anchor, the # symbol is the only thing that identifies the HREF attribute as the name of a NAME anchor rather than an address of file name. (The # symbol combined with the following anchorname some times is also called as a fragment identifier)

The common user for linking HREF and NAME anchor on the same page are:
• A directory or table of contents that links to the major heading of a page.

• Cross – references between different points in the text.

• Links to footnotes at the bottom of the page

The following is an example of creating a directory or table of contents that will be displayed at the top of the Web page and that will then link to subheading sections in the same documents.

HTML>

HEAD>

TITLE> Linking Page /TITLE>

/HEAD>

BODY>

H2> Using Hypertext links /H2>

P>

a href=”#page”> Linking To a Another Page or File /a> br>

a href=”#Locat”> Linking To a Place on The Same Page/a> br>

a href=”Locpg”> Linking To a Place on Another Page /a> br>

H3> a name=”Page”> Linking To Another Page or File /a> /H3>

P>

You can from a link with anything on the web that has an address or URL.

br>

H3> a name=”Locat”> Linking To a Place on The Same Page /a> /H3>

You can form a link with another place on the same page by linking an href and a name anchor

br>

H3> a href=”Locpg”> Linking To A Place On Another Page a> /H3>

p> You can not only link to another HTML file, but to a place in that file

/BODY>

/HTML>