HTML video tutorial – 84 – Introduction to css selectors

HTML – Introduction to CSS selectors : Selector is a string used to select elements on the page and apply styles on them. There are 3 most commonly used selectors, they are Tag selector or element selector Id selector class selector tag selector selects tags based on their tag name. id selector selects tags based on their id attribute value. class selector selects tags based on their class attribute value. id selector prefixed by hash(#). class selector prefixed by period(.) or dot(.). id attribute values should be unique in the page. class attribute values can be same for more than one element. ======================================================== Follow the link for next video: https://youtu.be/P2CGjDt8USE Follow the link for previous video: https://youtu.be/hL93pLKLSLs =====

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *