HTML <meta> with charset Attribute

You are Here:

HTML <meta> with charset Attribute

The charset attribute specifies the character encoding for the web page.

Note: It is strongly recommended to define the character encoding.

Tips: The <meta> element declaring the character encoding must be inside the <head> element and it must be the first descendant of the <head> element.

Example

HTML Online Editor
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <p>Body content goes here.</p> </body> </html>

Attribute Value

ValueExplanation
charsetSpecifies the character encoding for the web page.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author