Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strikethrough text without CSS, using native HTML5 #29

Open
wkan17012021 opened this issue Oct 8, 2022 · 0 comments
Open

Strikethrough text without CSS, using native HTML5 #29

wkan17012021 opened this issue Oct 8, 2022 · 0 comments

Comments

@wkan17012021
Copy link

Is your feature request related to a problem? Please describe.
Perhaps less well known, is that you can strikethrough text using HTML rather than resorting to CSS, which before researching about this, I would use CSS text-decoration property. A use case could be for displaying old product/service prices with strikethrough, next to the new discounted price. I would like to add this feature as a part of the HTML tips and tricks.

Describe the solution you'd like
Put a demo for the <s> tag in the repo. Note the <strike> tag is deprecated.

Please can you assign this to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant