Examples of css style conflicts and css style conflicts
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> admin5 </title>
<Style type = "text/css">
P {color: black ;}
P {color: orange ;}
</Style>
</Head>
<Body>
<P> www.admin5.com </p>
<P> admin5 </p>
<P> www.admin5.com </p>
</Body>
</Html>
Result:
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> admin5 </title>
<Style type = "text/css">
P {color: black ;}
P {color: orange ;}
. Red {color: red ;}
. Blue {color: blue ;}
. Green {color: green ;}
</Style>
</Head>
<Body>
<P class = "red green blue"> www.admin5.com </p>
<P class = "green blue red"> admin5 </p>
<P class = "blue red green"> www.admin5.com </p>
</Body>
</Html>
Result:
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> admin5 </title>
<Style type = "text/css">
P {color: black ;}
P {color: orange ;}
. Red {color: red ;}
. Blue {color: blue ;}
. Green {color: green ;}
</Style>
</Head>
<Body>
<P class = "red green blue" style = "color: yellow;"> www.admin5.com </p>
<P class = "green blue red"> admin5 </p>
<P class = "blue red green"> www.admin5.com </p>
</Body>
</Html>
Result: