HoTMetaL was early HTML editing software. I don't know if it's even around any more. I would advise against using a DTD that is specific to that software.

If you are familiar with and comfortable editing in 4.01 transitional, then I recommend changing all your doctypes accordingly and fixing those 20 errors.

Most likely the reason you are seeing those 232 errors is because the new, simpler <!DOCTYPE html> requires syntax that corresponds more to XHTML than HTML and if these pages were developed in HoTMetaL, then it is likely to be a HTML rather than XHTML document. You would see most of the same error messages if you used any of the XHTML DTDs.

Now, if you are willing and able to use this new site to bring yourself up to speed, either start using XHTML or HTML 5, change the DTD accordingly, and fix all 232 errors. You can find plenty of tutorials on what is required and make almost all of the corrections fairly easily with some search and replace.

Or if you'd rather not deal with that now, stick with HTML 4 as I suggested above.

Ken

[email protected] (Jack Stewart) wrote on  7/10/11  10:09 PM

Thank you Steve,

The problem is that when I use the <DocType HTML>, BBEdit shows 232 syntax errors on the index page alone. If I use 4.01 transitional it only shows about 20 errors. I'm sure that the 232 errors don't need to be designed out but I don't know how to get BBEdit to show me only the legitimate syntax errors :) I'd prefer not to change the doctype at all but probably cannot get BBEdit to handle the orignal one.

Thanks for your help -- Jack


On 7/10/11, Steve Piercy said ……

Just use the HTML5 doctype, unless you really, really need something
specific to design for non-standard modes:
<!DOCTYPE html>

Explanation:
http://diveintohtml5.org/semantics.html#the-doctype

--steve

On Jul 10, 9:38 pm, Jack Stewart <[email protected]> wrote:
I am attempting to modify a website designed by a third party
with a DTD of <DOCTYPE HTML PUBLIC "-//SoftQuad//DTD HoTMetaL
PRO 5.0::19980907::extensions to HTML 4.0//EN" "hmpro5.dtd>

BBedit does not recognize the DocType and assumes it to be HTML
5. This cause problems in syntax checking, etc.

What is the best way to handle this problem. I am hesitant to
change the doctype because of potential browser rendering
problems. I do not know why this doctype was originally used by
the designer.

Thanks in advance -- Jack



--
Simple Lives Web Design
http://simplelives.com

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to