Home > Web Front-end > HTML Tutorial > How to use html s tag

How to use html s tag

silencement
Release: 2019-05-27 10:35:21
Original
4376 people have browsed it

The

How to use html s tag

html tag is used to mark text that is no longer correct:

<p><s>My car is blue.</s></p>
<p>My new car is silver.</p>
Copy after login

Tag definition and instructions for use

html tag identifies text that is incorrect, inaccurate, or useless . The

html tag should not be used to define replaced or deleted text. If you want to define replacement or deleted text, use the tag.

Differences between HTML 4.01 and HTML5

In HTML 4.01, the element has been deprecated and is used to add text. Strikethrough.

HTML5 redefined the element, which is now used to define incorrect text.

Global attributes

tag supports global attributes of HTML.

Event attributes

## tag supports HTML event attributes.


The above is the detailed content of How to use html s 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template