Home  >  Article  >  Web Front-end  >  What is the phrase tag in HTML? What?

What is the phrase tag in HTML? What?

青灯夜游
青灯夜游Original
2018-11-27 14:33:573779browse

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:

What is the phrase tag in HTML? What?

#Tag

... Any content within the element will be displayed as important text, usually in bold.

<p>PHP中文网的网站为:<strong>m.sbmmt.com</ strong></p>

What is the phrase tag in HTML? What?

Mark text label

... mark> Any content appears marked with yellow ink

<p>PHP中文网的网站为:<mark>m.sbmmt.com</mark></p>

What is the phrase tag in HTML? What?

##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>

What is the phrase tag in HTML? What?

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>

What is the phrase tag in HTML? What?

tag

... element represents bidirectional rewriting , used to override the current text direction.

<p>此文本是从左到右。</p>
<p><bdo dir = "rtl">此文本将从右到左。</bdo></p>

What is the phrase tag in HTML? What?

tag

If 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>

What is the phrase tag in HTML? What?

Short citation tag

Use......> ;You can add double quotes to any content in the tag

<p>测试文字, <q>测试文字</q>.</p>

What is the phrase tag in HTML? What?##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>

What is the phrase tag in HTML? What?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>

What is the phrase tag in HTML? What?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>

What is the phrase tag in HTML? What?

标签

标签用于包含任何地址。
<address>388A, Road No 22, Jubilee Hills -  Hyderabad</address>

What is the phrase tag in HTML? What?

总结:以上就是本篇文章的全部内容,希望能对大家的学习有所帮助。

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what is xmlNext article:what is xml