2013年4月12日 星期五

Selecting Nodes by ID or Class Name

Use the # character to select elements by ID

image

 

Use the . character to select elements by class name

image

image

 

Class name combine with element name as well

image

 

Demo Example:

image

image

image

沒有留言:

張貼留言