473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

about meta tag with value content-language for http-equiv attribute

hi
I want to make a html page and inside of that i want to wright a few line in persian(persian is one of the rtl language)
and for that i write

<meta http-equiv="content-type" content="text/html; charset=utf8" />


but i read another form of meta and i think both of this meta tag are the same for me (i use only persian and english language in my page)

<meta http-equiv="content-language" content="en, fa" />


but later dont work for me and all line are written to persian is shown clumsy
(i konw that these two mentiond tags are diffrent but please consider i only use persian (with lang_code fa) and english , now would you please describe me what is diffrence between those only for my purpose)
in advance thanks
May 22 '11 #1
1 2263
Dormilich
8,658 Expert Mod 8TB
Content-Type: defines document type (text, website, download, etc.) and character encoding. these data are essential for the browser to display the content correctly.

Content-Language: the (human) language used. interesting if someone searches documents written in e.g. Farsi. also useful for spell checking.
May 23 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Alexander | last post by:
Please, excuse me if the question is a basic one but I have not found any hint neither on XML4C samples, nor on Apache site. I'm using XML4C. I'm parsing an xml file and I'm getting to an attribute...
0
by: yelena | last post by:
Hello, We need to use version php-4.4.0-Win32 because one of the portal software doesn't support version php-5.0.5-Win32. We cannot get the PHP setup part working. Here is the error message: ...
0
by: RYoung | last post by:
I have a custom attribute with an "IsPresent" property with get; set accessors. When the attribute is applied to a field of a class, IsPresent will be false by default. At runtime, I'll read in...
3
by: The Developer | last post by:
Hi All, I have a web application where I am adding a custom attribute to my ASP.NET text box control and changing value of that attribute at client side using JavaScript. My problem is that...
4
by: Paul Hadfield | last post by:
Hi, Wonder if anyone can help me on this, In DotNet2.0 I've been quite happily using the WriteAttributeString method of XmlWriter object, but have run into a problem when trying to output a...
1
by: Gary Wessle | last post by:
Hi how can I "using pdb" get a value of an attribute?, read the docs and played around with pdb 'p' for no avail. thanks class main: def __init__(self, master): self.master = master
1
by: shukyh | last post by:
Hi All i have a XML file with 12 element named "device", and attribute named "project". i wanted to change only the value of one attribute. i tried: XmlNodeList nList =...
3
by: patrizio.trinchini | last post by:
Hi, how can remove sibling elements based on the value of an attribute ? For instance, gven the XML document: <root> <parentElment> <testElement name="A"> <removableElement/>
2
by: roto23 | last post by:
I am able to correctly XPath to the correct Node in the XML file, however when I try to get the value of an attribute on that node, it doenot work. intX gets a value of 1 so I am sure the XPath...
2
by: inFocus | last post by:
Hello, I am looking for some help in reading a large text tile and extracting a value from an attribute? so I would need to find name=foo and extract just the value foo which can be at any...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.