Encode and decode HTML entities for safe display in web pages.
&<>"'/💡 Why encode HTML? HTML entities prevent browsers from interpreting special characters as HTML code, protecting against XSS attacks and ensuring text displays correctly.