Enter HTML5 entry to proficient:<i> label

Source: Internet
Author: User
Keywords tags 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"

<i> Label

Definitions and usage

The <i> label renders italic text.

The <i> label defines a different part of the rest of the text and renders the text in italic text. When no other elements are available, such as <b>, <cite>, <dfn>, <em>, <q>, <small>, <strong>, use <i > tags.

Differences between HTML 4.01 and HTML 5

No difference.

But in HTML 4.01, there is an understanding that CSS should be used to make italic text. In HTML 5, the situation does not change, but you should use the <i> tag to define some of the text as a certain type, not just the style it renders in the layout.

Example

<p>the <i class= "taxonomy" >felis silvestris catus</i> is cute.</p>
<p>the term www.ithov.com <i>prose content</i> is tabbed above.</p>
<p>there is a certain <i lang= "fr" >je ne sais quoi</i> www.ithov.com in the air.</p>

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.

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.