HTML tagHTML tag is used to represent a part of text in a different voice from the surrounding text. The content within tag usually renders in italic type on the browser. It can be useful to represent some technical terms, phrase, fictional character thoughts, etc. NOTE: The tag does not include any logical meaning to the content and if you want to represent some logically important part of the content then use tag. (Both give same visual effect)SyntaxFollowing are some specifications about the HTML tag
Example 1Output: AttributeTag-specific attributeHTML tag does not contain any specific attribute. Global attributeHTML tag supports the global attributes in HTML. Event attributeHTML tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML iframes Tag
|