
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
How to include the character encoding in HTML?
Character encoding is a method of converting bytes into characters. To validate or display an HTML document properly, a program must choose a proper character encoding.
Use the <meta> element, to set the charset attribute and specify the character encoding for the HTML document −
<!DOCTYPE html> <html> <head> <meta charset = "UTF-8"> </head> <body> <p>Click following link</p> <a href = "https://www.qries.com" target = "_self">Welcome to Qries</a> </body> </html>
- Related Articles
- PHP – How to detect character encoding using mb_detect_encoding()
- How to include JavaScript in HTML Documents?
- How to include Modernizr in HTML document?
- How to include an acronym in HTML?
- How to include an abbreviation in HTML?
- How to include CSS in HTML Pages
- How to include the audio/video controls in HTML?
- PHP – How to set the character encoding detection order using mb_detect_order()?
- How to include another HTML file in an HTML file?
- How to include an input field in HTML?
- Node.js – Retrieving file character encoding
- How to include groups of table columns in HTML?
- How to include a title in a fieldset in HTML?
- Encoding string based on character frequency in JavaScript
- How do we include big text in HTML?

Advertisements