+ 1
how can I combine more the one type of font with my paragraph
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.
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>