tag, with the CSS property font-family, font-size, font-style, etc. For example, you can use tags to change attributes related to the font. A text font command will only work if the font you call for is loaded on the computer displaying the page. The style attribute specifies an inline style for an element. HTML, or Hyptertext Markup Language, is a standard web programming language used to display content on web pages. To change the text font in HTML, use the style attribute. You can change the font size of the text using CSS property (font-size: values here). It is a programming language that uses tags to designate or signal a specific action. Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java and XML. Set font size in px, % or em. Font Color — Use CSS, (color: color name here) color property to give color to the text.