+ 3
A question about font variant property
I made a p tag inside a p tag. And I do expect that the p tag which is inside needs to be small-caps. https://code.sololearn.com/Wom570o4boik/?ref=app What is my mistake? Thank you.
5 Answers
+ 2
It works well when you replace first p with something like div
+ 3
Yani iki p tagini iç içe koyduÄumuzda miras özelliÄi iĆlemiyor mu? đ
+ 2
Ä°Ćlemiyor olabilir ama internette iĆlemediÄini yazan bir yer görmedim
0
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p class="base">Base</p>
<p class="child">Child</p>
</body>
</html>
0
I think we can NOT make p inherit from p but we can make it inherit fron its âmotherâ :D âbodyâ