What is the phrase tag in HTML? What?

青灯夜游
Release: 2019-07-04 14:11:04
Original
3794 people have browsed it

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>www.php.cn</ em></p>
Copy after login

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>www.php.cn</ strong></p>
Copy after login

What is the phrase tag in HTML? What?

Mark text label

... Any content appears marked with yellow ink

<p>PHP中文网的网站为:<mark>www.php.cn</mark></p>
Copy after login

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>
Copy after login

What is the phrase tag in HTML? What?

tag

The element allows you to indicate and

Currently, major browsers do not change the appearance of the content of the element.

<p>本篇文章给大家介绍<acronym>HTML</acronym>里的短语标签.</p>
Copy after login

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>
Copy after login

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>
Copy after login

What is the phrase tag in HTML? What?

Short citation tag

Use......

<p>测试文字, <q>测试文字</q>.</p>
Copy after login

What is the phrase tag in HTML? What?##Tag

Users can use < 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>
Copy after login

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>
Copy after login

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>
Copy after login

What is the phrase tag in HTML? What?

标签

标签用于包含任何地址。

<address>388A, Road No 22, Jubilee Hills -  Hyderabad</address>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template