Support » Themes and Templates » HTML Tag and name space

  • Howdy! I’m writing a theme from scratch finally. Some have ask me why I would do such a thing and I can only answer…”to be able to say I can”. So having said that, the name space attributes in the html tag has me a bit confused. Why does WordPress include the code <?php language_attributes(); ?> and not just a simple line of code like this.
    <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
    Doesn’t that inclusion carry unnecessary weight and add a call slowing down the processes?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Tag and name space’ is closed to new replies.