Enter HTML5 entry to proficient:<em><strong><dfn><code><samp><kbd><var><cite> label

Source: Internet
Author: User
Keywords HTML5 Getting started to master

<em> <strong> <dfn> <code> <samp> <kbd> <var> <cite> tab

Definitions and usage

The following elements are phrase elements. They are not returned, but they can be richer by using style sheets.

&lt;em&gt; rendered as highlighted text. &lt;strong&gt; define important text. &lt;dfn&gt; define a definition project. &lt;code&gt; define computer code text. &lt;samp&gt; define sample text. &lt;kbd&gt; define keyboard text. It indicates that the text was typed from the keyboard. It is often used in computer-related documents or manuals. &lt;var&gt; define variables. You can use this tag in conjunction with the &lt;pre&gt; and &lt;code&gt; labels. &lt;cite&gt; define references. You can use this label to define reference references, such as titles of books or magazines.

&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;

Differences between HTML 4.01 and HTML 5

,<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.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.