How can I get this a symbol, ā to show up on my web site?
How can I get this a symbol, ā to show up on my web site?
it is for http://www.ohanamakamae.org/ and all the other symbols work, just not the ā.
I hope someone can help, I am working开发者_JAVA技巧 in Dreamweaver.
Put this instead of the character into your HTML: ā
If you need it capitalized, Ā
.
Add the following to your <head>
:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
This instructs the browser to use the UTF-8 encoding to encode the characters in the page. You only need to ensure that you configure your editor as well to save the HTML page in the same encoding. This is often available somewhere in a option dropdown in the Save As dialogue.
If you specify the correct character encoding for your page, you will not have to escape ā at all (look for the meta tag below):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>...</title>
</head>
<body>
How can I get this a symbol, ā to show up on my web site?
</body>
</html>
More on character encodings.
This is what I did. I could do it for all sorts of letters in the English alphabet.
I tested this IE 9 only.
<html>
<head>
<title>
hi
</title>
</head>
<body>
<p>
ā b̄ c̄ d̄ ē f̄ ḡ
h̄ ī j̄ k̄ l̄ m̄ n̄
ō p̄ q̄ r̄ s̄ t̄ ū
v̄ w̄ x̄ ȳ z̄
</p>
<p>
Ā B̄ C̄ D̄ Ē F̄ Ḡ
H̄ Ī J̄ K̄ L̄ M̄ N̄
Ō P̄ Q̄ R̄ S̄ T̄ Ū
V̄ W̄ X̄ Ȳ Z̄
</p>
</body>
</html>
精彩评论