Technology, Web & Business Forum

You are here: Technology, Web & Business Forum : Web Development : Design : The tag <?xml version="1.0" encoding="iso-8859-1"?>


Welcome to the Technology, Web & Business Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.


Design Talk about web design techniques and ideas in CSS, HTML, etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2009
Junior Member
 
Join Date: Jun 2009
Posts: 3
Default The tag <?xml version="1.0" encoding="iso-8859-1"?>

I am using Dreamweaver MX (I know pretty old) to do my web design projects. When I select Make document compliant it adds these two tags

<?xml version="1.0" encoding="iso-8859-1"?>

At the beginning and

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

after the title tag

My question is whether this tag is necessary and what exactly does it do? Thanks in Advance
Reply With Quote
  #2 (permalink)  
Old 11-25-2009
Junior Member
 
Join Date: Nov 2009
Posts: 5
Default hai

Actually, you don't need that XML tag unless you intend to serve your pages AS XML. In addition to that, leaving that link ABOVE the doctype will throw IE into QUIRKS mode - which you definitely do NOT want!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 01:33 PM.