To change the font via HTML you can use the style attribute within the.
What is text style in html. If your browser supports the tag highlighted text should have a yellow background. If you are working on an HTML5 page the tag can quickly highlight text. To change the text font in HTML use the style attribute.
Below is an example of the how to use the mark tag and its result. The attribute is used with the HTML. The element is an inline container used to mark up a part of a text or a part of a document.
The style attribute specifies an inline style for an element. When used together with CSS the element can be used to style parts of the text.