I found it! >From W3Schools... In HTML 5, the declaration is simple:
<!DOCTYPE html> That seems to clear the problems below (and introduce others), but what can you expect from a 15-year-old html file? --Gil > Hi-- > > The following snippet does what I expect in both Firefox and Safari... >  > > ...However, BBEdit gets the following errors... >  > > ...when I click Markup -> Check -> Document Syntax ^⌘Y > > I wonder whether why? > > Maybe my html file's preamble... > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml"> > > <head> > <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> > > ...might have something to do with this? > > --Gil > > > -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/587DF3BD-C341-443C-AEEB-0F3275D66AC9%40GilDawson.com.
