What is html italic bold tag?

藏色散人
Release: 2023-01-03 09:31:25
Original
4405 people have browsed it

htmlItalic bold tags aretags andtags respectively. Thetag 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; thetag 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 exampleXXXX. A basic web page is contained between and . Specific examples are as follows:

  此处显示页面标题 

一级标题

加粗显示二级标题

斜体显示三级标题

Copy after login

Running effect:

What is html italic bold tag?

Tag introduction:

TagDefinition 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 theelement 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, thetag 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 bytags, important text should be represented bytags, marked or high Highlighted text should be represented by atag.

【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!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!