HTML <html> tagThe <html> tag represents root of an HTML document hence also called as root element. It is a container of all elements (except <!Doctype> ) such as <body>, <head> and each element which appears in an HTML document. It tells the browser that the document is an HTML document. Before the <html> tag we can only use <!Doctype> declaration which gives information about the HTML version to the browser. SyntaxFollowing are some specifications about the HTML <html> tag
Example 1Test it NowOutput: Attribute
Global attributeThe <html> tag supports the global attributes in HTML Event attributeThe <html> tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML I Tag |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India