How to set two different font sizes in the same <p>

user182 picture user182 · Aug 29, 2013 · Viewed 31.9k times · Source

I have a piece of HTML code that i'm stuck with. How can I set the first part of this text to a font-size of 20px and the text after the <br> tag to a font-size of 15px?

Or if I'm doing it completely wrong, how would I do it without having them in different tags

<p id="losinfo"> Los Santos: a sprawling sun-soaked metropolis full of 
self-help gurus, starlets and fading celebrities, once the envy of the 
Western world, now struggling to stay afloat in an era of economic 
uncertainty and cheap reality TV <br><br> Our largest open world yet
 - by far - and spanning vastly diverse cultural and geographical areas, 
the entire world of Grand Theft Auto V is open from the very beginning 
of the game to explore. Visitors to the greater metropolis of Los Santos 
and the countryside of Blaine County will encounter faded celebrities, 
meth heads, party people, violent gangs, hikers, bikers and every other 
manner of colorful denizen. You'll be able to traverse everywhere from 
the tops of the mountains, through the streets of Los Santos and to the 
depths of the ocean floor</p>

Answer

Daniel Morgan picture Daniel Morgan · Aug 29, 2013
<p id="losinfo">Los Santos: <span id="secondText"> a sprawling sun-soaked ...</span></p>

Then style #losinfo and #secondText differently in css.