Hyper Text Markup Language (HTML) is the main markup language which used for creating web pages or other information that can be displayed on web browser. For beginners it is necessary to learn the basics of HTML.
Following are the some important basics of HTML.
# Showing text in bold font
<b> and </b> are the tags using for display text in bold font.
Here is an example :
<b>This is a sample text</b>
Output :
This is a sample text
# Showing text in Underline
<u> and </u> are the tags using for display text in Underline.
Here is an example :
<u>This is a sample text</u>
Output :
This is a sample text
# Showing text in color
<font color="color name or code"> and </font> are the tags using for display text in color.
Here is an example :
<font color="red">This is a sample text</font>
Output :
This is a sample text
# Showing links
<a> and </a> are the tags using for display links.
Here is an example :
<a herf="http://www.blogger.com">Blogger</a>
Output :
# Showing image
<img src="image link"/> is the tag using for show image.
Here is an example :
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8gtjBVkd2J82ZGGYnbV4Lshv9kyhyNpn9C1Xpg4U3tgwC1SvJietMuSjUnSZ2mI_ntGxMKUrZEdq2iEtC_A__8_1heIkblgTWRYbjdyYkq1_mYb_uhPN_P5JVkkyfoZ2SjspGwi2As9zY/s200/sample-1.jpg"/>
Output :
Ok . above are the most commonly and important basic HTML codes using on websites. We can also try two codes together . For example if you want to show a colored bold text , You can simply try the following code .
<font color="red"><b>This is a sample text</b></font>
Output :
This is a sample text
Let's try another one .If you want to show a link with bold text , You can simply try the following one.
<a herf="http://www.blogger.com"><b>Blogger</b></a>
Output :
Blogger
Let's try something with image. If you want to show a link with image , You can try the following code.
<a herf="http://www.blogger.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8gtjBVkd2J82ZGGYnbV4Lshv9kyhyNpn9C1Xpg4U3tgwC1SvJietMuSjUnSZ2mI_ntGxMKUrZEdq2iEtC_A__8_1heIkblgTWRYbjdyYkq1_mYb_uhPN_P5JVkkyfoZ2SjspGwi2As9zY/s200/sample-1.jpg"/></a>
Output :
In above code change the link "
http://www.blogger.com" with your link , where want to go when click on link and change the image link "
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8gtjBVkd2J82ZGGYnbV4Lshv9kyhyNpn9C1Xpg4U3tgwC1SvJietMuSjUnSZ2mI_ntGxMKUrZEdq2iEtC_A__8_1heIkblgTWRYbjdyYkq1_mYb_uhPN_P5JVkkyfoZ2SjspGwi2As9zY/s200/sample-1.jpg" with your image link.
You may feel little bit hard to learn HTML . But you are really mistaken ! If you really follow HTML you can learn it easily. These are only simplest forms of HTML. Little bit advanced will learn in next lesson. Hope you understand .