Html class2

192
-1

Published on

The best way learn HTML very soon nd in easy manner....Hope it will be useful and helpful to you

Published in: Education
1 Comment
2 Likes
Statistics
Notes
  • please give ur comments to my slide share..
    I helps me to upload more ppt's
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
192
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Html class2

  1. 1. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name="value" HTML links are defined with the <a> tag. The link address is specified in the href attribute: <a href="http://www.yahoo.com">This is a link</a>
  2. 2. Links: There are 2 types of linking  Text linking  Image linking Text linking: $ Normal linking $ Web page $ Email $ Named anchor
  3. 3. Web page using text linking:
  4. 4. Attributes: Syntax: Href means hyper link reference file Font size <a href="image insert.html" style="color:yellow;text- decoration:none" title="click here">link images web page</a>
  5. 5. After applying attributes:
  6. 6.  <a href="http://www.google.com" style="color:purple;text-decoration:none" title="goto web">connect to internet site</a><br> <a href="mailto:harisha.chigurupati@gmail.com" style="color:maroon;text-decoration:none" title="open mail box">mail box</a>
  7. 7. Named anchor:
  8. 8. syntax <a href=“#q1”>Q1</a> Question1:<a name=“q1”></a> Up , down If we press them the page should be moved to particular referenced position
  9. 9. Image linking:<a href="flower.jpg" title="click"><img src="flower.jpg" width="155" height="175" border=4style="border-color:gold"</a>
  10. 10. After clicking that image
  11. 11. Some more:<a href="h1.html" title="click“><img src="ranbow.jpg"width="65" height="65" onmouseover="this.src=flor2.jpg"onmouseout="this.src=ranbow.jpg"></a>

×