Table of Contents
HTML <b> tag
Definition and Usage
HTML <strong> tag
HTML <big> tag
HTML <small> tag
HTML <em> tag
HTML <i> tag
HTML 5 <sub> and <sup> tags
Home Web Front-end HTML Tutorial HTML , , , , , , , and tags

HTML , , , , , , , and tags

Sep 03, 2016 am 12:00 AM

HTML tag

All browsers support the tag.

Definition and Usage

The

tag specifies bold text.

Note: According to the HTML5 specification, the tag should be used as a last resort option when no other suitable tag is more suitable. HTML5 specification states:

-
should be used to represent titles, tags should be used to represent emphasized text, tags should be used to represent important text, and tags should be used. to represent annotated/highlighted text.

Tip: You can also use the CSS "font-weight" property to set bold text.

HTML tag

Definition and Usage

The

tag is used to emphasize text just like the tag, but it emphasizes more strongly.

Browsers usually display the content in the tag differently from the tag, usually using bold fonts (as opposed to italics) to display the content, so that users can The two labels are distinguished.

If common sense dictates that we should use the tag less often, then the tag should appear less frequently. If text with the tag seems to scream, then text with the tag screams. In the same way that words spoken by taciturn people always carry their weight, limiting the use of can make it more noticeable and more effective.

For example, users who frequently visit W3school may notice that the first summary sentence of many tutorial pages is displayed in bold, but in fact, we use the tag for this summary. The reason for using this tag is that we believe that the tutorial summary not only summarizes the content of the page on which it is located, but is located at the most important position on the page, and its content is naturally very important and worthy of emphasis.

HTML tag

All browsers support the tag.

Definition and Usage

tag displays a large font effect.

Using the tag makes it easy to enlarge fonts. It couldn't be simpler: browsers display text contained between a tag and its corresponding tag as one size larger than the surrounding text. However, if the text is already in the largest font size, the tag will have no effect.

Even better, you can nest tags to enlarge the text. Each tag makes the font one size larger, up to the upper limit of size 7 text, as defined by the font model.

But you still have to be careful when using the tag, because browsers are always very lenient in trying to understand various tags, and for those browsers that do not support the tag, it often treats it as Labels in bold font.

HTML tag

All browsers support the tag.

Definition and Usage

label displays a small font effect.

The

tag is the same as its corresponding tag, but it reduces the font size instead of enlarging it. If the enclosed font is already the smallest size supported by the font model, the tag will have no effect.

Similar to the tag, the tag can also be nested to continuously shrink the text. Each tag makes the text one size smaller, until the lower limit of one size is reached.

HTML tag

Definition and Usage

The

tag tells the browser to represent the text within it as emphasized content. For all browsers, this means displaying this text in italics.

Including emphasis in text also requires skills. If you emphasize too much, some important phrases will be missed; if you emphasize too little, you won't really highlight the important parts. It's the same with condiments that it's best not to overuse the emphasis.

Although the content modified by the tag is currently displayed in italics, these content also have a broader meaning. One day in the future, browsers may also use other special effects to display emphasized text. If you only want to italicize text, use the tag. In addition, documents can also include cascading style definitions that change the display of text.

In addition to emphasis, consider using the tag when introducing new terms or as a set style when referencing a specific type of term or concept. For example, W3School often uses tags for important terms. The tag can be used to distinguish these names from other italicized words.

HTML tag

All browsers support the tag.

Definition and Usage

tag displays italic text effect.

The

tag is similar to the content-based style tag . It tells the browser to display the contained text in italic or oblique fonts. If this type of italics is not available for the browser, you can use highlighting, inverting, or underlining styles.

Tips: The tag must be used in conjunction with the closing tag .

HTML 5 and tags

Definition and Usage

tag can define subscript text. can define superscript text.

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Is HTML easy to learn for beginners? Is HTML easy to learn for beginners? Apr 07, 2025 am 12:11 AM

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

The Roles of HTML, CSS, and JavaScript: Core Responsibilities The Roles of HTML, CSS, and JavaScript: Core Responsibilities Apr 08, 2025 pm 07:05 PM

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

Understanding HTML, CSS, and JavaScript: A Beginner's Guide Understanding HTML, CSS, and JavaScript: A Beginner's Guide Apr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

What is an example of a starting tag in HTML? What is an example of a starting tag in HTML? Apr 06, 2025 am 12:04 AM

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

Gitee Pages static website deployment failed: How to troubleshoot and resolve single file 404 errors? Gitee Pages static website deployment failed: How to troubleshoot and resolve single file 404 errors? Apr 04, 2025 pm 11:54 PM

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...

How to implement adaptive layout of Y-axis position in web annotation? How to implement adaptive layout of Y-axis position in web annotation? Apr 04, 2025 pm 11:30 PM

The Y-axis position adaptive algorithm for web annotation function This article will explore how to implement annotation functions similar to Word documents, especially how to deal with the interval between annotations...

HTML, CSS, and JavaScript: Essential Tools for Web Developers HTML, CSS, and JavaScript: Essential Tools for Web Developers Apr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

How to use CSS3 and JavaScript to achieve the effect of scattering and enlarging the surrounding pictures after clicking? How to use CSS3 and JavaScript to achieve the effect of scattering and enlarging the surrounding pictures after clicking? Apr 05, 2025 am 06:15 AM

To achieve the effect of scattering and enlarging the surrounding images after clicking on the image, many web designs need to achieve an interactive effect: click on a certain image to make the surrounding...

See all articles