Thursday, September 29, 2011

Get Started Basic HTML TAGS

Requirements to study HTML
A text editor
A Web browser
Where you can type the code
Open a text editor like notepad and type the code and save the file as somename.html    The .html is very important


<HTML> - Opening Tag of html Page
</HTML> - Closing tag of a html page

Titles of your webpages

 You can set the titles appearing on web browsers using <title> tag .It can be used as 
<title> Type The Title You Want To Appear </title>

Heading Of a Webpage

You can use <h1> , <h2> , <h3> , <h4> , <h5> , <h6> Tags for headings
These are the results and respective codes of Heading tags

This is a H1 heading  Code -  <h1> This is a H1 heading</h1>

This is a H2 heading         code -   <h2> This is a H2 heading</h2>

This is a H3 heading              code    <h3> This is a H3 heading</h3>

This is a H4 heading                code    <h4> This is a H4 heading</h4>

This is a H5 heading                   code     <h5> This is a H5 heading</h5>
This is a H6 heading                                code    <h6> This is a H6 heading</h6>

Links In a Webpage
     <a href="Type The target of the web address  here"> The Text To be Linked Here </a>
The target of your web page may type after href attribute . See this example


Result digipool
Code --  <a href="http://digipool.blogspot.com/">digipool </a>


In the above example http://digipool.blogspot.com/  is the target address and digipool is the text to be linked.



No comments:

Post a Comment