Viewing Language Code

Language Code



User: Rachel L. 12 years ago
Hello,

Does anyone knows where I can specify a code for language.
1. Where to inject the code?
2. What is the code for en-us?

Thanks a lot.

-------------------------------
Regards
Rachel Lee
www.web-craftz.com
User: Roddy 12 years ago
Every HTML page starts with the doctype. It is a declaration - not a tag.

HTML 4.01 specifies the doctype like this…

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

… but all this is redundant with HTML5 which simply uses…

<!DOCTYPE html>

You do not inject this - it is already there.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 12 years ago
I'll do that again so that the code shows this time!

Every HTML page starts with the doctype. It is a declaration - not a tag.

HTML 4.01 specifies the doctype like this…

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

… but all this is redundant with HTML5 which simply uses…

<!DOCTYPE html>

You do not inject this - it is already there.

Last edit 12 years ago

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 12 years ago
I think she means the meta language tag. If so you can put this code in the Head Code field under the Publish Settings Screen.

To access the Publishing Settings Screen select your website on the left hand side of the EverWeb window above your web page list.

<meta http-equiv="Content-Language" content="en">

Last edit 12 years ago

-------------------------------
Paul
EverWeb Developer


Post Reply
You must login or signup to post.