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.
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.
Output result:
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!