<style>
.red-text {
color: red;
font-size: 16px;}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the fluffy fur catnip scratched.</p>
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36.
Okay, so you are missing a closing tag > on the second
element.
Otherwise what you wrote makes perfect sense. changing font-size to 16px does make any
difference to the text below. so if you want bigger text UP it or smaller text LOWER it
There is no special explanation for it i guess. Its how the HTML works. anything you put inside here < >
gives information about the element to the browser that translates it