Tuesday, 22 September 2015

Basic Tags


HTML HEADINGS

Are defined with <h1> to <h6> tags:

Example:






HTML PARAGRAPHS

Are defined with <p> tags:

Example:

<p> This is a paragraph.</p>


HTML LINKS

Are defined with <a> tags:

Example:

<a href="http://lorenznote.blogspot.com/"> Lorenz Note</a>


href attribute specifies the destination link.


HTML IMAGES

Are defined with <img> tags:

Example:

<img src="http://www.w3.org/Icons/w3c_home.png" alt="W3c Logo" height= 70 width=100>
 

W3c Logo


The attributes src for the source file, alt for alternate text, and width and height for the size.


No comments:

Post a Comment