Question

I'm playing around with the "web client" of a new Microsoft app. When I run the W3C validation check I get the following result:

enter image description here

And here the head of the HTML file:

<!DOCTYPE html >
<html>

<head>
    <title>Microsoft Dynamics NAV</title>
    <meta content="IE=8" http-equiv="X-UA-Compatible" value="IE=8" />
    <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
    <meta content="no-cache" http-equiv="pragma" />
    <link id="ctl00_main" href="/Resources/main.css?version=7.0.33451" rel="stylesheet" type="text/css" />
    <link id="ctl00_controls" href="/Resources/controls.css?version=7.0.33451" rel="stylesheet" type="text/css" />
    <link id="ctl00_webclient" href="/Resources/webclient.css?version=7.0.33451" rel="stylesheet" type="text/css" />
</head>

<body class="v4master" scroll="no">

What kind of HTML is this? Is it really HTML5?

Was it helpful?

Solution

<!DOCTYPE html>

This doctype was introduced in HTML5.
And this is what is the introduction of any html5 tut.

This very simple doctype will cause even browsers that don't presently support HTML5 to enter into standards mode, which means that they'll interpret the long-established parts of HTML in an HTML5-compliant way while ignoring the new features of HTML5 they don't support.

MDN Reference

OTHER TIPS

<!DOCTYPE html>

The above is an HTML5 DOCTYPE but that doesn't mean the document is good or valid HTML5, just that someone put that line in there.

Also, you may want to try the CSE HTML Validator instead as it is designed to be more practical. There's an online version here: http://www.OnlineWebCheck.com/

Yes, it has the HTML5 doctype. There are three different <!DOCTYPE> declarations in HTML 4.01. In HTML5 there is only one: <!DOCTYPE html>

Note: The <!DOCTYPE> tag does not have an end tag and the <!DOCTYPE> declaration is NOT case sensitive.

Yes, it has the HTML5 doctype...but, maybe it should be HTML4. What happens if you change it to:

<!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">
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top