Tuesday, September 27, 2011

An introduction to PHP - Some Basic HTML tags

<a>
The tag <a> is used for define html links.
Eg : <a href="http://123codings.blogspot.com/">My Blog</a>
http://123codings.blogspot.com/ is the link address ( target address ).My Blog is the text.
Result - My Blog


<b> 
The HTML tag <b> stands for Bold. It gives a bold text.
Eg <b> 123codings </b>
Ordinary text 123codings
Bold text 123codings


<br>
The tag <br> is used for a new line it dont have an end tag like </a> . 
Eg : 1st line<br>2nd line
Result : 
1st line
2nd line


<i>
The tag <i> is used for italics text.

Ordinary text 123codings
Italics text      123codings

<img>
The <img> tag  is used to insert an image on HTML pages.
src =  full address / path of image
Eg : <img src="http://someaddress/somepicturename.image's extension"></img>
        <img src="http://3.bp.blogspot.com/-gSd4vVj7XE/ToE9IN_jLrI/AAAAAAAABuY/Df_MAYwsokY/s1600/123codings.akg.jpg"></img>
Result










No comments:

Post a Comment