HTML5 text element parsing
1. represents keywords and product names
HTML5
Explanation: The actual function of the element is to make it bold. From a semantic point of view, it means marking a piece of text, but not particularly emphasizing its importance.
##HTML5
Explanation : The actual function of the element is the same as , which is to make it bold. From a semantic point of view, it means emphasizing an important text.
##3.
Force newline
Thisabc
at any text position will be wrapped. When the English word is too long, using
Explanation: The actual function of the element is to tilt. From a semantic point of view, it means to distinguish the surrounding content, which is not particularly emphasized or important.
#5, < ;em>To emphasize
HTML5
Explanation: < The actual function of the ;s> element is to strike through. From a semantic point of view, it means inaccurate deletion
##7. means deletion of text
HTML5 Element
Explanation: The actual function of the element is the same as , which is a strikethrough. From a semantic point of view, it means to delete text
HTML5
Explanation:
##9. Add a piece of textHTML5
Explanation: The element has the same function as . Adding an underline means adding a paragraph of text from a semantic point of view, which plays a role of emphasis.
##11, Add subscriptAdd superscript
5 sub>
5
Explanation: The actual functions of the and elements are subscripts and superscripts in mathematics
12. Indicates input and output
HTML5
HTML5> ;
HTML5
represents a computer code fragment, represents a variable in a coding language. <samp> represents the output of a program or computer: <kdb> represents the user's input. Since this is in the English category, lang='en' must be used to reflect the effect<p></p>
<p></p> <p>13. <abbr> represents an abbreviation </abbr></p>
<p></p>
<abbr>HTML5</abbr><p></p>Explanation: The <abbr> element has no practical effect, from a semantic point of view It is the abbreviation of a piece of text <p><br></p>
<p><br>14. <dfn> indicates the definition term</dfn></p>
<p></p> <dfn>HTML5</dfn> <p> </p>Explanation: The <dfn> element is a general slant. From a semantic point of view, it means a piece of text that explains a word or phrase.<p><br></p>
<p><br>##15. <q>Quoting content from elsewhere</q></p>
<p> <q>HTML5</q> </p>
<p>Explanation: The actual function of the <q> element is to add a pair of double quotes, from the semantics Seen above, it means quoting content from other parties. <br></q></p>
<p><br></p>
<p></p>##16. <cite>Citing titles of other works<p></p>
<cite>HTML5</cite> <p></p>Explanation: The actual function of the <cite> element is to make it bold. From a semantic point of view, it indicates the title of citing other works <p><br></p>
<p>##17, <ruby elements></ruby></p>
<ruby><p></p>
<p> 饕<rp>(</rp><rt>tao</rt>)</p>
<p> 餮<rp>(</rp>> ;<rt>tie</rt>)</p>
<p></p></ruby><p>Explanation: <ruby> is used for non-Western languages provide support. <rp><rt>It is used to help readers master the correct pronunciation of ideographic language characters, for example: </rt></rp></ruby></p>
<p> Hanyu Pinyin is above the text, but Muqiao FireFox does not support <br></p>
<p><br></p>
<p>18. <bdo>Set text direction</bdo></p>
<p><bdo dir="rt1">HTML5</bdo> </p>
<p>Explanation: <bdo> You must use the attribute dir to set it. There are two values in total, rtl from left to right, and ltr (from left to left). The general setting is ltr, and there is also a <bdi> element that also handles direction. Since it is a special effect in a special language and is not supported by mainstream browsers, ignore</bdi></bdo></p>
<p><br></p>
<p>19 and <mark>highlight text</mark></p>
<p><mark></mark></p>
<p>Explanation: The actual function of <mark> is to add a yellow background and black words. From a semantic point of view, it is context-related and prominent text. Used for notation </mark></p>
<p><br></p>
<p>20, <time> represents date and time<br></time></p>
<p><time>207-2-12</time> <br></p>
<p>Explanation: The <time> element has no practical effect and semantically represents date and time. </time></p>
<p><br></p>
<p>21, <span> represents General text<br></span></p>
<p><span>HTML5</span></p>
<p>Explanation: has no practical effect, semantically represents a piece of text, and is often used to set CSS and other operations</p>
<p><br></p>
<p><br></p>
<p>Example: </p><div class="code" style="position:relative; padding:0px; margin:0px;"><pre class='brush:php;toolbar:false;'><!DOCTYPE html>
<html lang=&#39;en&#39;>
<head>
<meta charset=&#39;utf-8&#39;>
<title>基本</title>
</head>
<body>
b元素,这是<b>HTML5</b>教程<br>
strong元素,这是<strong>HTML5</strong>教程<br>
wbr元素,这里填充一下:Thisisaasdfsdddddddddddddddddd<wbr>dddddddf<wbr>asdfasd is apple<br>
i元素,这是<i>HTML5</i>教程<br>
em元素,这是<em>HTML5</em>教程<br>
s元素,这是<s>HTML5</s>教程<br>
del元素,这是<del>HTML5</del>教程<br>
u元素,这是<u>HTML5</u>教程<br>
ins元素,这是<ins>HTML5</ins>教程<br>
small元素,这是<small>HTML5</small>教程<br>
sub元素,这是<sub>5</sub>教程<br>
sup元素,这是<sup>5</sup>教程<br>
code元素,这是<code>HTML5</code>教程<br>
var元素,这是<var>HTML5</var>教程<br>
samp元素,这是<samp>HTML5</samp>教程<br>
kdb元素,这是<kdb>HTML5</kdb>教程<br>
abbr元素,这是<abbr>HTML5</abbr>教程<br>
dfn元素,这是<dfn>HTML5</dfn>教程<br>
q元素,这是<q>HTML5</q>教程<br>
cite元素,这是<cite>HTML5</cite>教程<br>
ruby元素,
<ruby style="font-size: 50px;"> 饕<rp>(</rp><rt>tao</rt><rp>)</rp>餮<rp>(</rp><rt>tie</rt><rp>)</rp></ruby><br>
bdo元素,这是<bdo dir=&#39;rtl&#39;>HTML5</bdo>教程<br>
mark元素,这是<mark>HTML5</mark>教程<br>
time元素,这是<time>2017-2-12</time>教程<br>
span元素,这是<span>HTML5</span>教程<br>
</body>
</html></pre><div class="contentsignin">Copy after login</div></div><p><img src="/static/imghw/default1.png" data-src="https://img.php.cn//upload/image/923/270/519/1487058506806656.png" class="lazy" title="HTML5 text element parsing" alt="HTML5 text element parsing" style="max-width:90%" style="max-width:90%"></p>
<p>For more articles related to HTML5 text element analysis, please pay attention to PHP Chinese net! </p></cite></cite></dfn></abbr></kdb></samp>

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...
