use*_*182 4 html css font-size paragraph
我有一段HTML代码,我坚持使用.如何将此文本的第一部分设置为20px的字体大小,将<br>标签后的文本设置为15px的字体大小?
或者,如果我完全错误的话,如果不将它们放在不同的标签中,我该怎么做呢?
<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>
Run Code Online (Sandbox Code Playgroud)
Dan*_*gan 12
<p id="losinfo">Los Santos: <span id='secondText'> a sprawling sun-soaked ...</span></p>
Run Code Online (Sandbox Code Playgroud)
那么风格#losinfo和#secondTextcss的不同.