Assume I declare at the top of a HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This refers to english HTML content/syntax. Later then I declare:
<META NAME="keywords" CONTENT=".... ... .... ">
Should the keywords also be in english? or is it possible to enter words from other language
(and with other language specific chars like german umlaute, french accents, spanisch question marks,...)?
Do visiting search engines understand a mix of words from multiple languages ?
Can I enter speical chars like the german "Ä" directly or do I have to type Ä inside the META-Tags ?
Wladi 5 3482 wl*******@gmx.n et (Wladimir Borsov) wrote in
news:bv******** *****@news.t-online.com: Assume I declare at the top of a HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This refers to english HTML content/syntax. Later then I declare:
No it doesn't. It refers to the DTD itself (including comments) being
written in English. It doesn't refer at all to the contents of the
document.
Wladimir Borsov wrote: Assume I declare at the top of a HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
EN means that the markup language is in English (IIRC). Hence, you have
<body> instead of <corpus>. This refers to english HTML content/syntax. Later then I declare:
<META NAME="keywords" CONTENT=".... ... .... ">
Should the keywords also be in english? or is it possible to enter words from other language (and with other language specific chars like german umlaute, french accents, spanisch question marks,...)?
This is in the spec. Use "lang":
<meta name="descripti on" content="My Site" lang="en">
<meta name="descripti on" content="Mein Seiten" lang="de">
To indicate the language of the whole document use "lang" on the "html"
element. Also, the Content-Language HTTP header exists (used for
content negotiation). Do visiting search engines understand a mix of words from multiple languages ?
They should, according to the spec. But it's doubtful that they do. Can I enter speical chars like the german "Ä" directly?
If you use a character set that includes German characters (and assuming
users' fonts have the characters). wl*******@gmx.n et (Wladimir Borsov) wrote: Assume I declare at the top of a HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This refers to english HTML content/syntax.
It refers to the fact that the referenced HTML spec and DTD are in
English. Nothing more than that.
Later then I declare:
<META NAME="keywords" CONTENT=".... ... .... ">
Should the keywords also be in english?
What language is the page itself in?
or is it possible to enter words from other language
It's possible. But do those other languages appear in the page itself?
(and with other language specific chars like german umlaute, french accents, spanisch question marks,...)? Can I enter speical chars like the german "Ä" directly or do I have to type Ä inside the META-Tags ?
The content of the, um, content attribute is CDATA and so in HTML you
can use the naked characters (if the character encoding used includes
it) or the corresponding character reference.
Do visiting search engines understand a mix of words from multiple languages ?
Yes, no, maybe. Search engines are somewhat unpredictable when it
comes to languages.
However, almost all search engines ignore meta keywords entirely these
days so its really a waste of time to worry about them.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net > <http://steve.pugh.net/>
Wladimir Borsov wrote: Assume I declare at the top of a HTML page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This refers to english HTML content/syntax.
You believe wrong. It does not specify a (human) language at all. That's
not what DOCTYPEs are for.
To specify the language of the document do one or more of:
1. Set the "Content-Language" HTTP header.
2. Use a http-equiv="Content-Language" <meta> tag.
3. Set the lang attribute on the <html> element.
Can I enter speical chars like the german "Ä" directly or do I have to type Ä inside the META-Tags ?
This is an unrelated matter and has to do with the character set specified
on the page -- not the language. To specify which character set you are
using, do on of more of the following:
1. Add a charset attribute to the "Content-Type" HTTP header.
2. Use a http-equiv="Content-Type" <meta> tag and specify a charset
attribute similarly.
However, entities and character references, such as "Ä" should work
all the time: doesn't matter which charset you're using.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132
On Wed, 28 Jan 2004, Wladimir Borsov wrote: <META NAME="keywords" CONTENT=".... ... .... "> Do visiting search engines understand a mix of words from multiple languages ?
They don't give a shit about <meta keywords>. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Mark Moore |
last post by:
It looks like there's a pretty serious CSS bug in IE6
(v6.0.2800.1106). The HTML below is validated STRICT HTML 4.01 and
renders as I would expect in Opera, FrontPage, and Netscape.
For some reason, there's an annoying vertical gap between adjacent
rules that doesn't go away. This looks like IE6 is incorrectly
setting the margin to some arbitrary value.
Does anyone know if this is a known bug at MS? If you know of one,
post the...
|
by: Christopher Benson-Manica |
last post by:
(I posted this as a reply to my thread about iframes, but I think it
may get mostly ignored there.)
http://ataru.gomen.org/files/test.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><object> test</title>
|
by: Wolfgang Kaml |
last post by:
I am not sure if this is more of an expert question, but I am sure that they
are out there.
I'd like to setup a general application or bin directory on my Win2003.Net
Server that will hold some useful utils that more pages on that server can
use.
As an example, I have created a Page Counter class that opens an Access .mdb
file, counts the current entries for that page, and adds a new entry with
some information regarding the current...
|
by: Don Wash |
last post by:
Hi All!
I'm getting the following Error:
No DLLs has been compiled yet and nothing in the \bin directory. So it is
not the versioning problem or anything like that.
And here are the source of the files...
|
by: Alan Silver |
last post by:
Hello,
I am just experimenting with master pages, and am trying to add a
content placeholder in the <head> section, so that individual pages can
set their own page title and meta tags. The master page looks like
this...
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
| |
by: Jay |
last post by:
Is it possible to use the <% %> tag to embed a variable from page_load into a
meta tag in the aspx source? Somehow I am not getting the value out of my
variable properly - probably not using quotes correctly or something simple,
but after a full day of trying every possible syntax under the sun, I hope
someone can help.
Page_Load:
this.myKeywords = "keyWordOne keyWordTwo keyWordThree";
aspx source:
|
by: rhythmace |
last post by:
W3C HTML validator passes this:
....
<script type="text/javascript" src="foo.js">
<script type="text/javascript">
....script in here...
</script>
....
|
by: Taras_96 |
last post by:
Hi everyone,
We' ve come to the conclusion that we wish the user to be directed to
an error page if javascript is disabled <enter comment about how a
webpage shouldn't rely on javascript here :) >. I've read quite a few
posts on how to do this, but none meet my need (the two main
suggestions was set a jsEnabled variable in a <scriptsection of the
HTML and read it in PHP, and the other suggestion was by default
loading the non js page,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |