- 1
Why Internal CSS not working but Inline is perfect ?
7 ответов
+ 3
write here your code
+ 1
haven't you forgoten the selector?
+ 1
if you use both of them un the same selector and the same attribute, webpage will execute the inline. inline is priority
+ 1
write us ur code here !
+ 1
bcz u have a mistake. write your code here. ^^
0
i think inline has higher priority over css in head or external file thats why we need to use important! to ovveride that priority if needed
0
<html>
<head>
<style>
.test-p{color:red;}
</style>
</head>
<body>
<p class="test-p">parag</p>
</body>
</html>