2012-08-01 4:16, Georg wrote:

On 01.08.2012 00:14, Tedd Sperling wrote:

This works for me, my students, and W3C validation:

---

  <!doctype html>
  <html lang="en-us">
  <head>
      <meta charset="utf-8">

Since that only contains an HTML5 "standards mode" trigger (for better
than v.5.5 CSS support in IE/win *) and no DTD to check markup variant
against, it might be interesting for the OP to know what standard the
rest of the markup is actually coded in accordance with.

The “standards mode” trigger (or lack thereof) is all that matters from the CSS perspective. It drastically affects the level of CSS support and CSS interpretation, especially on IE.

The HTML5 doctype implies HTML5 syntax, for the purposes of the W3C Markup Validator and validator.nu.

HTML 4.01 Strict, XHTML 1.0 Strict served as HTML, and markup containing
new HTML5 elements, will all work and pass existing HTML5 validators,

No, there are constructs that are valid in HTML 4.01 Strict and XHTML 1.0 Strict but trigger error messages in experimental software called HTML5 validators, as the constructs do not conform to HTML5 drafts. For example, <big> and <tt>, or width attribute in <td>. In HTML5 thinking, you are supposed to replace them with CSS. But they still work in browsers no matter what doctype you use.

but the result won't necessarily be the same in all browser versions the
OP want to support without including some extra steps/info.

Nothing can ensure that the result will necessarily be the same. But I have no idea of what specific point you are referring to here.

Yucca


______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to