HTML <sub> tagHTML <sub> tag is termed as Subscript tag and which is used to define subscript text. The text within <sub> renders with a lower baseline and with a smaller font than surrounding text font. The <sub> tag is useful for presenting mathematical formula and chemical formulas such as H2O. SyntaxFollowing are some specifications about the HTML <sub> tag
ExampleTest it NowOutput: ![]() Attribute:Tag-specific attributes:The <sub> tag does not contain any specific attribute. Global attribute:The <sub> tag supports the Global attributes in HTML. Event attribute:The <sub> tag supports the Event attributes in HTML. Supporting Browsers
Next TopicHTML summary Tag
|
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week