<html> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:html

Introduction

The html element, the root element, indicates the start of the HTML.

The html Element summary

Item Value
Element html
Element Type N/A
Permitted Parents None
Local Attributes manifest-see Chapter 40 for details
Contents One head and one body element
Tag Style Start and end tag enclosing other elements
New in HTML5 No
Changes in HTML5 The manifest attribute has been added in HTML5; the HTML4 version attribute is now obsolete
Style Convention html { display: block; } html:focus { outline: none;}

Using the html Element

<!DOCTYPE HTML>
<html>
         ...content and elements omitted...
</html>

Demo Code

ResultView the demo in separate window

<html>
   <head></head>
   <body></body>
</html><!--from ww w . j a v a 2 s  . c  o  m-->

Related Tutorials