Is the s tag new to HTML5?

WBOY
Release: 2021-12-21 14:21:58
Original
2334 people have browsed it

The

s tag is not new to html5; in html4.01, the s tag was used to add strikethrough to text and has been abandoned. However, the s tag was redefined in html5 and is used to define those that are not Correct text.

Is the s tag new to HTML5?

The operating environment of this tutorial: Windows 10 system, HTML5 version, Dell G3 computer. Is the

s tag a new addition to html5?

s tag is not a new addition to html5.

tags identify text that is incorrect, inaccurate, or useless. Thetag should not be used to define replaced or deleted text.

In HTML 4.01, theelement has been deprecated and was used to strikethrough text. HTML5 redefined theelement, which is now used to define incorrect text.

The example is as follows:

   123 

My car is blue.

My new car is silver.

Copy after login

Output result:

Is the s tag new to HTML5?

##Recommended tutorial: "

html video tutorial

The above is the detailed content of Is the s tag new to HTML5?. 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!