This paragraph is the code in the HTML
1 <!DOCTYPE HTML>2 <HTMLLang= "en">3 <Head>4 <MetaCharSet= "UTF-8">5 <title>CSS header references and external references which have a high priority</title>6 <Linkrel= "stylesheet"href= "test. css">7 <styletype= "Text/css">8 . One{9 Color:Red;Ten font-size:30px; One } A </style> - </Head> - <Body> the <Div> - <Pclass= "One">With the introduction of the head and the external introduction of this sentence is also the color and font size settings</P> - <Pclass= "both">Only externally introduced color and font settings for this sentence</P> - </Div> + </Body> - </HTML>
This is the code in the CSS
1 . one,.two{2 color:blue; 3 font-size:50px; 4 }
This is what's shown in the Web page.
Through their own experiments found that the priority of the introduction of the head is higher than the external introduction, the first time to write a blog is not good enough to mention suggestions.
CSS in the same time with the introduction of the head and the external introduction of the same label style settings, which is a high priority.