Class8

325 views
315 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
325
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Class8

  1. 1. Class 8<br />
  2. 2. Span Tags<br />block-level elements (e.g. h1, p) add line breaks around themselves, while inline elements (like em, strong) can be introduced into a page without causing too much disruption.<br /><div> is used for block-level elements<br /><span> is used for inline level elements<br />
  3. 3. Pseudo Selector<br />a:link {color:#FF0000;} /* unvisited link */<br />a:visited {color:#00FF00;} /* visited link */<br />a:hover {color:#FF00FF;} /* mouse over link */<br />a:active {color:#0000FF;} /* selected link */<br />
  4. 4. Margins and Paddings<br />

×