Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Post History
The font element is depreciated An easy way to do it is to use span elements. That page has a good example of what you want. Simply do something like <p>Blah blah <span class="special"&g...
Answer
#1: Initial revision
**[The `font` element is depreciated](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font)** An easy way to do it is to use [`span` elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span). That page has a good example of what you want. Simply do something like ```html <p>Blah blah <span class="special">special text</span> blah blah</p> ``` You can easily style the special text with CSS. If the styling is not purely decorative though, I would recommend using sematic HTML and using, for instance [`strong`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong) or [`b`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b), both of which are used to draw emphasis to certain parts of a text. Though they default to boldface, you can change the styling however you want.