and You aren't pleased with the information supplied in Microsoft documentation at: graphic sizing and scaling in SharePoint present day pages ?
The crucial aspect is @ViewBag.Title. This bit of razor syntax encodes https://apriljcmn256830.techionblog.com/30403179/the-definitive-guide-to-page-title-2024mcbnt