Hema Posted November 30, 2021 Share Posted November 30, 2021 when creating a new file as an html file do we need to set the endcoding or we can skip it and set in the the meta element ? Link to comment Share on other sites More sharing options...
Ingolme Posted November 30, 2021 Share Posted November 30, 2021 You need to set the encoding in your text editor. The <meta> tag doesn't set the encoding, it just tells the browser which encoding the file is currently using. If the <meta> tag's encoding isn't the same as the document's encoding then the page will appear broken when certain characters are shown. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now