+ 1

how can I combine more the one type of font with my paragraph

16th Jul 2016, 12:12 PM
leah
leah - avatar
2 ответов
+ 4
I guess you mean how to style paragraph text with more than one font in a single paragraph. If so, you can use <span> element. The example is as below. <p>This is a <span id="no1">paragraph</span>. In this paragraph you can type <span id="no2">anything</span> that you want. Type your text <span id="no3">here</span>.</p> Then you can use CSS to style the text font. #no1 { font-family: serif; } #no2 { font-family: sans-serif; } #no3 { font-family: Cursive; } The above font family are just for examples. You can replace with anything you want.
16th Jul 2016, 1:16 PM
Azwan Abdullah
Azwan Abdullah - avatar
0
If you're not comfortable with css, you can do this: <p>This is <font face=tahoma color=blue>blue font </font>. This is <font face=helvetica color=red>red font </font>.</p>
16th Jul 2016, 2:04 PM
Enneyehc Tnayrb
Enneyehc Tnayrb - avatar