Select to view content in your preferred language

HTML5

666
1
06-01-2014 11:14 PM
Jeremiah_OlatundeGbolagun
Deactivated User
Hi,

Please I would like to know why HTML5 has not been applied with the ArcGIS API for JavaScript.

For example the below HTML code is not HTML5.

<!DOCTYPE html>
  <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
      <title></title>
    </head>
   
  </html>

I am expecting to see the new HTML5 structure. Although, I can see the "DOCTYPE html" which is the first statement of the HTML5. I am also expecting the "head" element to be "HEADER"

Can you please explain why it was not implemented here.

Best regards,

Jeremiah.
0 Kudos
1 Reply
JeffPace
MVP Alum
stolen from stack overflow

<header> is one of several new tags in HTML5 that are supposed to replace <div> for some specific situations. In particular, the "header" part of your page - whatever that is, usually the part that would be wrapped in <div class="header"> - in HTML5 you should use <header> instead.

header is not a replacement for head.

more info

http://diveintohtml5.info/semantics.html
0 Kudos