Home > Article > Web Front-end > What is the phrase tag in HTML? What?
The content of this article is to introduce what are the phrase tags in HTML? What? Let everyone understand the role of important phrase tags in HTML. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
What are phrase tags in HTML?
In HTML, phrase tags are specialized tags used to indicate that a block of text has structural meaning and perform specific operations similar to text formatting tags. Such as highlighting text in web pages, adding quotes, and more.
What are the phrase tags in HTML? What is the use?
Now we will introduce to you some important phrase tags and their functions in HTML:
tag
... em> Anything that appears within an element is displayed as emphasized text, typically in italics.
Example:
<p>PHP中文网的网站为:<em>m.sbmmt.com</ em></p>
Rendering:
#Tag
... Any content within the element will be displayed as important text, usually in bold.<p>PHP中文网的网站为:<strong>m.sbmmt.com</ strong></p>
Mark text label
... mark> Any content appears marked with yellow ink<p>PHP中文网的网站为:<mark>m.sbmmt.com</mark></p>##Tag
We can do this by placing the text at the beginning abbreviate text within the tag and the closing tag. If the tag is present, the title attribute must contain this full description and no other content.
<p><abbr title = "超文本标记语言">html</abbr>语言</p>tag
The element allows you to indicate and > The text between the ; tags are acronyms and are used to display highlighted text, but some browsers only display normal text.
Currently, major browsers do not change the appearance of the content of the element.
<p>本篇文章给大家介绍<acronym>HTML</acronym>里的短语标签.</p>tag
... element represents bidirectional rewriting , used to override the current text direction.
<p>此文本是从左到右。</p> <p><bdo dir = "rtl">此文本将从右到左。</bdo></p>
tagIf you want to quote a passage from another source, you should put it in
Marked between shallow.Text within an element is usually indented from the left and right edges of the surrounding text, sometimes using an italic font.<p>p标签:以下是测试文字</p> <blockquote>这里是blockquote标签的测试文字测试文字</blockquote>Short citation tagUse
......> ;You can add double quotes to any content in the tag<p>测试文字, <q>测试文字</q>.</p>##
Tag
Users can use ... The code> tag places the coding portion of the web page. Typically, the content of the
element is displayed in a fixed-width font, like code in most programming books.
<p>常规文字。 <code>代码:padding:10px;</code>常规文字。</p>Tag
Sometimes users need to use the keyboard to enter some text, the text should be saved in ... tag and highlighted by the browser.
<p>常规文字。 <kbd>这是在KBD元素内部。</kbd>常规文字。</p>Programming variables
Programming variables with
or <code> elements Used together to represent the content of an element as a variable. <br><pre class="brush:html;toolbar:false"><p><code>document.write("<var>user-name</var>")</code></p>标签
标签用于包含任何地址。<address>388A, Road No 22, Jubilee Hills - Hyderabad</address>总结:以上就是本篇文章的全部内容,希望能对大家的学习有所帮助。
The above is the detailed content of What is the phrase tag in HTML? What?. For more information, please follow other related articles on the PHP Chinese website!