The following elements are phrase elements. They are not returned, but they can be richer by using style sheets.
<em> rendered as highlighted text. <strong> define important text. <dfn> define a definition project. <code> define computer code text. <samp> define sample text. <kbd> define keyboard text. It indicates that the text was typed from the keyboard. It is often used in computer-related documents or manuals. <var> define variables. You can use this tag in conjunction with the <pre> and <code> labels. <cite> define references. You can use this label to define reference references, such as titles of books or magazines.
,<strong> in HTML 4.01 defines a heavier accent text, but,<strong> defines important text in HTML 5.
Property
Standard properties
Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, please visit the standard properties in HTML 5.
Event Properties
Onabort, onbeforeunload, onblur, onchange, onclick, OnContextMenu, ondblclick, Ondrag, Ondragend, OnDragEnter, OnDragLeave, 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, visit the event properties in HTML 5.
HTML text Formatting instance
Text formatting
This example shows how to format text in an HTML file
Computer Output tab
This example demonstrates the display of different computer output labels.
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.