Thursday, May 28, 2009

HTML Basics for Making Links, Headings, Paragraphs, and Inserting Images

After knowing about HTML and how to get started with HTML everyone should clear our basics about HTML. There are some basics of HTML which will help you for learning about HTML.

  1. HTML Heading: In HTML headings are most important which shows the size of text. In html heading less will be heading number more will be the size of heading. In html heading can be defined by <h1></h1> tags.

For example: <h1> this is my text</h1>

  1. HTML Paragraphs: if the content is very large and we want to give it in paragraphs then it can be given by <p></p> tags.

For example: <p> this is first paragraph</p>

                       <p>this is another paragraph</p>

  1. HTML Links: if there are number of pages in and we want to link these pages each other then anchor tag can be used which is used for creating hyperlink and connecting one page to another page.

For example: suppose a page to which you saved by a.html and another page to which you creating by b.html and wants to links these pages then it can be done by this.

a.html which is in your system when you opened it will give a URL which is to be noted down and paste it another page on which you want to make link. It can be done by

<a href=" C:\Documents and Settings\Administrator.abc\My Documents\a2.html">xyz</a>

  1. HTML Images: if you want to add images in your text then you add image by inserting image tag. For adding image select a image go to its properties and then copy source.

for example: <img src="path name" />

 

Except all these there are more tags which are used in HTML like bold, italic, underline, and more which we will discuss in next section.

No comments:

Post a Comment