CSS vido tutorial – 12 – CSS tag selector (tag name)

CSS tag selector demo: Tag selector: To select tags by their name and apply styles on them we use tag selector. Syntax of CSS rule-set / rule: selector { declaration list; } To implement tag selector, In place of selector, we write tag name. Syntax of tag selector: tagname { declaration list; } It selects every html tag with the specified tag name and applies styles on them. Example for tag selector: p { color: green; font-size:16pt; border: 2px solid red; } It selects every p tag available on the page and applies specified styles on them. ======================================================== Follow the link for next video: https://youtu.be/-cInuzwxg5I Follow the link for previous video: https://youtu.be/WwTIrUrnFPA ========= For more benefits & Be up to date ===============

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 *