answersLogoWhite

0


Best Answer

The older way is by using the <font> tag

<font face = "courier new" size="3" color="red"> Sample text</font>

All text that is entered between the above two tags will be of type courier new, size 3 and color red.

However, generally people are no longer encouraged to use the font tag and instead to use CSS to do it. That involves using styles. The way you would do what is above would be something like this, with the example using a style in the span tag:

<span style="font-family: 'courier new'; font-size: 12pt; color:red;"> Sample text</span>

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

font-family:

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you change the font type in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you change font on HTML?

type w3schools on google and go on their website. you should learn there .


How do you make your writing big on piczo using a HTML code?

&lt;FONT style="FONT-WEIGHT:normal; FONT-SIZE:85pt; COLOR:#Blue; LINE-HEIGHT:100pt; FONT-FAMILY:Georgia; LETTER-SPACING:-15px"&gt; TYPE FONT HERE &lt;/FONT&gt; use this HTML, you can change the size of the text by changing the font size in the HTML


What is the difference between 'text font' and 'font style'?

The font type is what it looks. There are quite a lot of them. Font size is the size of them.


How do you change the font size in a Tumblr POST?

type your post click the 'html' button. between the texts you want change the font size, type: &lt;big&gt; the text you want to change &lt;/big&gt; to make it bigger, just add the &lt;big&gt; &lt;/big&gt; many times, between the text... :)) It is MUCH easier to just change the font size - click the "html" button and change the font-size option eg? "font-size: 20px" look for this bit - and change the number - in this case 20 to whatever size you wish, (make sure you don't lose the px)


What is the use of Web Font in HTML?

Web font helps to change the font of the content in a web page. It can be used to style the page in the website.


How do you change get the codes for a different font on MySpace?

To change the font on myspace you type: &lt;font face="type your font here"&gt; *type your font here - like, arial or century gothic etc. don't forget to end it with &lt;/font&gt;


How do change the font for your username on quotev?

To change the font for your username on Quotev, you can use HTML formatting codes when editing your profile. You can try using the tag with the desired font style and size attributes. However, note that Quotev may have restrictions on certain fonts for usernames.


How do you change the color of the font when sending a comment on Friendster?

well,in order to change the color of your font in friendster comments,, you must use the HTML properties.. just like this one.. &lt;font color="white"&gt;your comment here&lt;/font&gt; just try this..


How do you change the font size on your homepage?

To change the font size on your homepage, you can either edit the HTML code of your page or use the CSS font-size property. For example, you can add a style element to the element of your HTML page, such as: body { font-size: 16px; } This will set the font size to 16px for the entire page. You can also use the font-size property in your CSS stylesheet to set the font size for specific elements. For example: h1 { font-size: 20px; } This will set the font size for all elements to 20px.


What does it mean to change the FONT?

to change the way the type looks


How can you change the font on HTML?

font size = &lt;span style="font-size: ??pt;"&gt;.....&lt;/span&gt;-put number size where ? appear font colour = &lt;p style="color: ????;"&gt;....&lt;/p&gt;-put name/code of colour where ? appear


How does HTML code works?

you type the code and create the website, and the code designes the size, color, font, etc.