Posts

Showing posts with the label css class selector

CSS Class Selector With Practical Examples

Image
  CSS Class Selector With Practical Examples   CSS Class  Selector is use to style one or more element HTML elements share the same class name CSS Class Selector targets  element with specific class attribute. CSS Class Selector denoted (Dot . ) class name. CSS Class Selector With Practical Examples Syntax . class-name { property:value ; }   CSS Class Selector With Practical Examples  Examples <! DOCTYPE html > < html >     < head >         < title > CSS  class  Selector </ title >     < style >           .demo {               color : cadetblue ;           }                             .intro {             border : 5px inset gold ;           ...

css class selector

Image
  css class selector 1]  css class selector write (.) character. 2]  css class selector is a fundamental part of cascading style sheets target html elements            based on their class attribute. Syntax :- . class  { text-align : center; color :pink; } CSS Class Selector Example :- <! DOCTYPE html > < html > < head >     < title > css class select </ title >     < style >     .web     {         text-align : center ;         color : yellowgreen ;     } </ style > </ head > < body >     < h2 class = "web" >         hello https://webdesigningtheory.blogspot.com/ </ h2 >         < h3 > This is program of Css ID Selector </ h3 >     </ h2 >     </ body > </ html > CSS Class Sele...