You assign CSS to a specific HTML element by using the style attribute with any CSS properties defined within it. You can use < div>or< span> tags.If the element is very small use span tag. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. That is, write your CSS all on the same line when using inline styles. HTML code needs the style attribute for web pages to be rendered in web browsers like Chrome, FireFox, IE for them to be displayed as they are intended to look. Use html attribute to change text size. This is my first paragraph. Try Examples. styles specified in the