CSS Font Size
The CSS font-size property sets the font size of any text element on your page or website. The font-size property can be applied to any class, ID, or element that includes text content. ... The CSS font-size property allows developers to set the font size in a paragraph or line of text on a web page.
To change the size of your text with inline CSS, you have to do it with the style attribute. You type in the font-size property, and then assign it a value.
With the syntax:
#element-one {
font-size: 30px;
}
#element-two {
font-size: 10px;
}
The text inside #element-one will be 30px in size, while the text in #element-two will be 10px in size.