+ 1
How can we change font size of just one word in a paragraph?
Example: <p style="font-size:24">This is a paragraph</p> now I want to change size of the "is" word from 24 to 48, Is it possible? does it have relevant tags or something?
8 Answers
+ 3
You could make a class and use <span class="ABC"> or you could style it inline <span style="style properties here">
+ 1
Thanks corejava I needed something like div but didnt know about span. I also tried div but it makes a block on seperate line and I needed inline block.
+ 1
Yep, span is the best way to go. It's very customizable and inline
+ 1
yes, Span tag was exactly what I wanted:
<p style="font-size:24">This <span style="font-size:48">is </span> a paragraph.</p>
Thank u all :)
0
yes u can do with span tag and with css
0
did u get ur answer with span tag??
0
yes its tags
- 1
I think CSS is best for that because I have expressions that