Monday, July 09, 2012

HTML Basic

Well there are a few basic html tags that you come across in every HTML page.They are:
1.<br/>-Break tag (<element /> refers that it is opened and closed).Break tag executes a line break in your web page.
2.<h1></h1>-Header level 1(6 Header levels are currently used.More than that can be made possible ,but it looks ugly)
3<p></p>-Paragraph tag anything you type in the HTML page will be displayed in the webpage but using the paragraph tag will help in customizing the paragraph.
4.<a href=''></a>-Anchor tag anchor tag is used for links where href (hyperlink reference)is a attribute of anchor tag.
5.<img src='' / >-Image tag image tag is used to post a image in your webpage where src(source) refers to the URL(universal resource locator) of the image.

It should look something like this:



Now open notepad Play with the above codes with tags following additions: 
 1.Save it as index.html and open it in you browser.
    see what happens and stay tuned for next tutorial.if you have any doubts, feel free to comment and i will get back to you with your doubts.you can  Download the source file here.

0 comments:

Post a Comment