This text is in red color
This text is highlighted
This code example uses a class attribute to apply a highlight style to the text enclosed in the element. The class "highlight" can be defined in a CSS file or in the style section of the HTML document.
Package library: PHP has built-in support for HTML, and there is no need for any external package library to use HTML element in PHP. Many PHP frameworks, such as Laravel and CodeIgniter, provide built-in HTML helpers for syntax sugar and convenience.