z2ox6w
z2ox6w

Reputation: 1

On the web page, place a link to the txt file and specify the encoding of the file as utf-8

Now the code is:

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>

    <span lang="en-us"><a href="russian.txt">txt</a> - </span>

How to insert charset="utf-8" attribute?

Upvotes: 0

Views: 584

Answers (1)

vmf91
vmf91

Reputation: 1937

You should declare the whole document as UTF-8 with a charset command.

Add this between <head> and </head>:
<meta charset="utf-8"/>

Upvotes: 1

Related Questions