O'Reilly logo

HTML5: Your visual blueprint™ for designing rich web pages and applications by Adam McDaniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTML METADATA TAGS

The HTML metadata tags describe the configuration specific to your website and not specific content that appears in the browser. In other words, they describe how content should appear and how your website should be portrayed to automated programs in the outside world, but not the actual content.

Most HTML metadata tags should come before the <body> tag group; however, there are a few exceptions: The comment tag, <script> tag, <link> tag, and <style> tag can appear anywhere in your website.

Note that these HTML metadata tags do not accept any of the global attributes defined earlier.

<!doctype>

The <!doctype> tag is a special preamble tag to your HTML web page. Called a document-type definition (DTD), it instructs the web ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required