HTML tagThe tag represents root of an HTML document hence also called as root element. It is a container of all elements (except ) such as , and each element which appears in an HTML document. It tells the browser that the document is an HTML document.Before the tag we can only use declaration which gives information about the HTML version to the browser. SyntaxFollowing are some specifications about the HTML tag
Example 1Output: Attribute
Global attributeThe tag supports the global attributes in HTML Event attributeThe tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML I Tag
|