Enter HTML5 entry to proficient:<sub> and <sup> tags
Source: Internet
Author: User
Keywordstags HTML5 Getting started to master
"Reprint please retain the integrity of the content of the Wind network article, if you do not comply with this principle, we will retain the right to pursue legal responsibility"
<sub> <sup> Tags
Definitions and usage
<sub> label to define subscript text. <sup> to define superscript text.
Differences between HTML 4.01 and HTML 5
No.
Example
This text contains <sub> subscript </sub>
This text contains <sup> superscript </sup>
Property
Standard properties
Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, visit the standard properties in HTML 5. Event Properties Onabort, onbeforeunload, onblur, onchange, onclick, OnContextMenu, ondblclick, Ondrag, Ondragend, OnDragEnter, Ondraghttp://www.aliyun.com/zixun/aggregation/29841.html ">leave, OnDragOver, ondragstart, OnDrop, OnError, onfocus, onkeydown, onkeypress, onkeyup, onload, OnMessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup , OnMouseWheel, OnResize, Onscroll, Onselect, onsubmit, onunload for a complete description, please visit the event properties in HTML 5.
Tiy instance
Superscript and subscript
<html> <body> <p> Www.ithov.com This text contains <sub>subscript</sub> </p> <p> Www.ithov.com This text contains <sup>superscript</sup> </p> </body> </html>
This example shows how to use the SUP and sub elements.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.