β’ `UTF-8` - Character encoding for Unicode (recommended)
β’ `ISO-8859-1` - Character encoding for the Latin alphabet | --- ## Code Example Below is an example of how the `charset` attribute was historically used in a link: ```html Visit YouTip! ``` --- ## Browser Support | Chrome | Edge / IE | Firefox | Safari | Opera | | :---: | :---: | :---: | :---: | :---: | | β Not Supported | β Not Supported | β Not Supported | β Not Supported | β Not Supported | All major modern browsers have dropped support for the `charset` attribute on the `` tag. If used, it will be ignored by the browser. --- ## Modern Alternatives Instead of using the obsolete `charset` attribute on anchor tags, you should ensure that the target document declares its own character encoding. ### 1. HTML5 Meta Tag (Best Practice) Every HTML5 document should declare its character encoding inside the `` section using the `` tag: ```html
YouTip