Thursday, July 17, 2014

HTML Learning 4

Basic of HTML


Heading of HTML

headings  of HTML are defined with the <h1> to <h6>  tags.

Example

<h1>This is a heading of h1 </h1>
<h2>This is a heading of h2 </h2>
<h3>This is a heading of h3 </h3>

notepad

heading notepad



Mozilla browser 

heading browser

Paragraphs of HTML

Paragraphs of HTML are defined with the <p> tag.
Start tag <p> and end tag </p> 

Example

<p>This is my  paragraph.</p>
<p>This is  my another paragraph.</p>



Links of HTML

links 0f HTML are defined with the <a> tag.
Start tag <a> and end tag </a> 

Example

<a href=" http://learningst24.blogspot.com">This is  link</a>

Note: The link address is specified in the href attribute.
(You will learn about attributes in a later chapter of next article)

Add images in your web page

HTML images are defined with the <img> tag.

Example

<img src="mouse.jpg" alt="this is mouse " width="100" height="120">

Before You must create an image jpg format that’s width=100 and height=120  and it will be put root folder. 

mouse