add type attribute for desktop|mobile value
add type examples to readme