HTML html Tag | HTML <html> Tag tutorial By WDH

HTML html Tag


Example of <html> code

<!DOCTYPE html>
<html>
  <head><!--Information about the page--></head>
  <body><!--Page content--></body>
</html>

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique attributes for the <html> tag, and a description of each.