Buoka Posted January 18, 2008 Share Posted January 18, 2008 I am using HTML Tidy linked into FireFox to ensure my code remains clean. It is - apart from a DTD warning.The warning I receive is: DocType given is "-//W3C//DTD XHTML 1.0 Transitional//EN"andDocument content looks like XHTML 1.0 TransitionalMy code in head is <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > What can/must I do? Link to comment Share on other sites More sharing options...
jlhaslip Posted January 18, 2008 Share Posted January 18, 2008 Remove this and check it again. <?xml version="1.0" encoding="UTF-8"?> The XML declaration can create problems. It is not required and, in fact, the w3c recommends not using it until Browsers handle it correctly. Link to comment Share on other sites More sharing options...
Buoka Posted January 21, 2008 Author Share Posted January 21, 2008 Remove this and check it again.<?xml version="1.0" encoding="UTF-8"?> The XML declaration can create problems. It is not required and, in fact, the w3c recommends not using it until Browsers handle it correctly. Thanks jlhaslip Link to comment Share on other sites More sharing options...
jlhaslip Posted January 22, 2008 Share Posted January 22, 2008 welcome. I assume that fix worked? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.