Home  >  Article  >  Web Front-end  >  What is html italic bold tag?

What is html italic bold tag?

藏色散人
藏色散人Original
2021-03-26 11:29:294324browse

htmlItalic bold tags are tags and tags respectively. The tag is used to define a part that is different from the rest of the text and present this part of the text. is italicized text; the tag is used to define bold text.

What is html italic bold tag?

The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer.

First of all, you need to understand the bold and italic codes in hypertext markup language (html). The bold mark is b and the italic mark is i. In html, marks generally appear in pairs. of.

For example XXXX. A basic web page is contained between and . Specific examples are as follows:



此处显示页面标题

一级标题

加粗显示二级标题

斜体显示三级标题

Running effect:

What is html italic bold tag?

Tag introduction:

Tag Definition A portion of the text that is different from the rest of the text and renders it in italics.

Tags are used to represent scientific terms, idioms in other languages, ideas, spacecraft names, etc.

Use the element when no other element with appropriate semantics can be used. Other semantic elements are as follows:

(emphasized text)

(important text)

(marked of/highlighted text)

(title of work)

(a definition item)

Define bold text.

According to the HTML 5 specification, the tag should be used as a last resort and only used when no other tag is suitable. HTML 5 specification states: Titles should be represented by

-
tags, emphasized text should be represented by tags, important text should be represented by tags, marked or high Highlighted text should be represented by a tag.

【Recommended learning: html video tutorial, CSS video tutorial

The above is the detailed content of What is html italic bold tag?. 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