What is HTML == <s== > tag?

Welcome Delta Sigma Pi

  • Accessibility
  • Sales:

    Home:

    1-800-426-7235

    Business:

    1-866-426-0911

    Chat Now >

    Visit Sales Support Page >


    Order Support:

    Order Lookup >

    Visit Order Support Page >

    Technical Support >

Lenovo
All
  • All
  • Laptops
  • Desktops
  • Workstations
  • Monitors
  • PC Accessories & Electronics
  • Tablets
  • Servers & Storage
  • Servers Accessories
  • Sign In / Create Account
    My Lenovo Account
    Keep track of your wishlist, orders, and rewards all in one place
    Sign In / Create Account
    Welcome Back!
    Access your order, subscriptions, saved carts, rewards balance, and profile
    View My Account
    Orders
    View & track your orders
    Rewards
    Earn & redeem Rewards
    Profile
    Edit name, password, and account settings
    Wishlist
    Manage a wishlist of your favorite products
    Products
    Manage your devices, accessories
    Product Registration
    Register your product and/or update your warranty dates
    Sign Out
  • My Lenovo Rewards
  • Cart
  • Products
  • Solutions
  • Services
  • Support
  • About Lenovo
  • Deals
  • Student
  • Gaming
  • Laptops
  • Desktops
  • Workstations
  • Accessories
  • Software
  • Monitors
  • Tablets
  • Servers & Storage
  • Home & Office
  • AI
  • Deals
TEMPORARILY UNAVAILABLE
DISCONTINUED
Temporary Unavailable
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
Sign in or Create an Account to Save Your Cart!
Sign in or Create an Account to Join Rewards
View Cart
Remove
Your cart is empty! Don’t miss out on the latest products and savings — find your next favorite laptop, PC, or accessory today.
item(s) in cart
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
of
Contains Add-ons
Subtotal
Proceed to Checkout
Yes
No
Popular Searches
What are you looking for today ?
Trending
Recent Searches
Items
All
Cancel
Top Suggestions
View All >
Starting at
  • Black Friday in July! Limited-time Doorbusters + Buy more, Save more!  Shop Now >

  • My Lenovo Rewards! Earn 3%-9% in rewards and get free expedited delivery on select products. Join for Free >

  • Buy online, pick up select products at Best Buy. Shop Pick Up >

  • Lease-to-own today with Katapult. Get started with an initial lease payment as low as $1! * Learn More >

Home > Glossary > What is HTML <s> tag?
Glossary Hero
Learn More
StarStar

Annual Sale

Lenovo Laptop SaleLenovo Laptop Sale

Laptop Deals

Desktop DealsDesktop Deals

Desktop Deals

Workstation DealsWorkstation Deals

Workstation Deals

StoreStore

Pick Up Today at Best Buy

ControllerController

Gaming PC & Accessory Deals

MouseMouse

PC Accessories & Electronics Deals

MonitorMonitor

Monitor Deals

Tablet and phoneTablet and phone

Tablets & Phones Deals

ServerServer

Server & Storage Deals

Discount tagDiscount tag

Clearance Sale


What is HTML <s> tag?

The HTML <s> tag shows text struck through or marked as deleted. It is commonly employed when you want to show that certain content is no longer relevant or accurate. When the browser meets this tag, it typically gives the text with a line through it, visually signaling that it has been deprecated or removed from the document.

When would I use the HTML <s> tag?

You would use the <s> tag when you want to show that some text has been removed or deprecated from a document, such as when editing a document or indicating changes in a revision history.

Can the HTML <s> tag be styled with CSS?

Yes, you can style the HTML <s> tag using CSS to change its appearance according to your design preferences. You can modify properties such as color, font size, line thickness, and style of the line through the text-decoration property. This allows you to customize the struck-through text to fit seamlessly with the overall look and feel of your website or document.

What happens if a screen reader encounters the HTML <s> tag?

Screen readers typically announce text enclosed within the <s> tag as "strikethrough" or "deleted," alerting users that the content has been marked as no longer valid or relevant.

Does the HTML <s> tag have any semantic meaning?

The HTML <s> tag doesn't inherently convey semantic meaning beyond its visual representation of struck-through text. It's primarily a presentational element used to show deleted or deprecated content. However, for clearer semantics related to deletion or removal, HTML5 recommends using the <del> tag. So, while <s> serves a purpose in styling, its semantic significance is limited compared to more specific elements like <del>.

What's the difference between the HTML <s> tag and the <del> tag?

While both tags denote deleted text, the <s> tag is more general-purpose, showing that the text is no longer relevant. The <del> tag specifically marks content that has been removed or deleted from a document.

How does the HTML <s> tag differ from the <strike> tag?

The HTML <s> tag and the <strike> tag both visually strike through text, but the key difference lies in their semantic meaning and HTML standardization. While <s> is part of HTML5 and represents content no longer accurate or relevant, <strike> is deprecated in HTML5, lacking semantic significance. It's recommended to use <s> for stylistic strikethroughs, reserving <strike> for compatibility with older browsers.

What are some practical use cases for the HTML <s> tag?

The HTML <s> tag finds practical application in various scenarios. You can use it to show corrected errors or deprecated information on websites, such as marking outdated prices or discontinued products. It's also handy for showing changes in documents, like revision histories or editing logs. Additionally, the <s> tag can be useful for highlighting amendments or updates in legal documents or terms of service.

Could I nest other HTML elements within the <s> tag?

Yes, you can nest other HTML elements within the <s> tag to enhance styling or add semantic meaning. For example, you could nest a <span> element to apply specific styles or a <abbr> element to provide more information about the struck-through text. Just ensure that the nested elements are appropriately structured and don't interfere with the overall readability or interpretation of the content.

Does the HTML <s> tag have any accessibility considerations?

When using the <s> tag, it's essential to ensure that the struck-through text still is accessible to screen readers and other assistive technologies, providing alternative descriptions if necessary.

Can I remove the default line-through styling applied to the <s> tag?

Yes, you can remove the default line-through styling applied to the <s> tag using CSS. Simply override the default styling by targeting the <s> tag in your CSS and setting the text-decoration property to none. This will effectively remove the line-through style, allowing you to customize the appearance of struck-through text according to your design preferences.

Would using the <s> tag impact document semantics?

Using the <s> tag without semantic significance might change document semantics if its usage deviates from its intended purpose. Employing it solely for visual styling could confuse semantic interpretation tools, affecting how assistive technologies perceive the document's content. It's crucial to reserve its use for showing strikethrough or deprecated text, keeping semantic integrity and ensuring consistent interpretation across different platforms and devices.

What's the browser support like for the HTML <s> tag?

The HTML <s> tag enjoys robust support across modern web browsers, including Chrome, Firefox, Edge, and others. It's considered a standard element in HTML and is widely recognized and made correctly by all major browsers. This broad support makes it a reliable choice for showing struck-through text in web documents without worrying about compatibility issues across different browsing platforms.

Could I use JavaScript to manipulate content within the <s> tag?

Yes, you can use JavaScript to manipulate content within the <s> tag dynamically, such as adding or removing text, changing styling, or updating the content based on user interactions.

Does the HTML <s> tag have any impact on document structure or layout?

The HTML <s> tag itself doesn't significantly change document structure or layout. Its primary function is to visually strike through text, showing deletion or deprecation. However, the styling applied to the <s> tag, such as color, font size, or line height, can affect the appearance and flow of content within a document, potentially influencing its overall layout and visual presentation.

Can I use the HTML <s> tag within headings or block-level elements?

While it's technically possible to use the <s> tag within headings or block-level elements, it's generally more semantically correct to reserve it for use within inline text elements.

Would using the HTML <s> tag affect printing?

The <s> tag itself shouldn't affect printing, but the styling applied to it, such as color or font size changes, could change how the struck-through text appears when printed.

Could I use the HTML <s> tag in conjunction with version control systems?

Yes, you could use the HTML <s> tag in conjunction with version control systems to visually show changes or deletions in documents. Pairing the <s> tag with version control can provide a clear visual representation of revisions or updates, helping collaborators understand the history of changes within a document. This practice can enhance collaboration and streamline the revision process, particularly in environments where document changes are frequent and need to be tracked efficiently.

Could I use the HTML <s> tag within links or buttons?

Using the <s> tag within links or buttons could be confusing for users. While technically possible, it may imply that the entire element, rather than just the text within it, is deprecated or no longer relevant. It's generally better to reserve the <s> tag for marking up text content only, ensuring clarity and consistency in the user interface. Consider alternative approaches to denote changes or deletions within interactive elements to avoid ambiguity.

Would using the HTML <s> tag affect document validation?

Using the HTML <s> tag in compliance with HTML standards typically wouldn't affect document validation. However, improper usage, such as nesting block-level elements within inline elements or using it inconsistently, could lead to validation errors or warnings. It's essential to ensure that the <s> tag is used appropriately to keep document validity and adherence to best practices.

Looking for a Great Deal?
Shop Lenovo.com for great deals on A+ Education PCs, Accessories, Bundles and more.
Shop Deals Now

  • Legion 7i Gen 9 (16″ Intel) Gaming Laptop
    Starting at
    $1,699.99
    Learn More
  • ThinkPad X9 15 Aura Edition (15ʺ Intel) Laptop
    Starting at
    $1,127.97
    Learn More
  • Yoga Book 9i (13” Intel)
    Starting at
    $1,999.99
    Learn More
  • Yoga 9i 2-in-1 Aura Edition (14″ Intel) Laptop
    Starting at
    $1,396.49
    Learn More
  • ThinkPad P1 Gen 7 (16″ Intel) Mobile Workstation
    Starting at
    $2,239.00
    Learn More
  • Shop
    • Student Deals
    • K-12 Student Laptops
    • Student Accessories
    • Laptops by Major
    Education resource
    Explore
    • What is STEM?
    • Best Laptops for College
    • Student & Teacher Discounts
    • Lenovo Sustainability Programs
    Education carry case

    Stem Articles
    See All STEM Articles
    • Online STEM Education

    • STEM Career Tips & Resources

    • Women in STEM

    • STEM Educator Training

    • STEM Grants & Funding

    • STEM Education: Coding for Kids

    • STEM Education: Robotics

    • STEM Education: Biotechnology

    • STEM Education: Sustainability

    • STEM Education: AI & ML

    While every effort has been made to ensure accuracy, this glossary is provided for reference purposes only and may contain errors or inaccuracies. It serves as a general resource for understanding commonly used terms and concepts. For precise information or assistance regarding our products, we recommend visiting our dedicated support site, where our team is readily available to address any questions or concerns you may have.

    Why Lenovo?

    Go Greener with Leno...

    Lenovo is committed to Smarter Climate Action with lower energy laptops, use of sustainable materials and packaging, and available CO2 Offset Services.
    Learn More
    pastel background

    Get It Now, Pay For ...

    Lenovo has multiple financing option: the Lenovo Credit Card, installment plans, and lease-to-own financing op...
    Learn More
    pastel background

    Productivity & Peace of Mind

    Stay productive with Premium Care Plus - 24/7 priority support and coverage against accidental damage. Power through your day with our Smart Performance and extended battery solutions.
    Learn More
    pastel background

    Fast & Secure

    Get the most from your laptop with Lenovo’s state-of-the-art Smart Performance, delivering powerful, all-in-on...
    Learn More
    pastel background

    Assistance and Suppo...

    Chat with a trained professional who can help you find the right products, place or check on an order, or setup your Education laptop.
    Contact Us
    pastel background
    Enter email to receive Lenovo marketing and promotional emails. Review our Privacy Statement for more details.
    Please enter the correct email address!
    Email address is required
    • Facebook
    • Twitter
    • Youtube
    • Pinterest
    • TikTok
    • Instagram
    Select Country / Region:
    Country
    AndroidIOS

    About Lenovo

    • Our Company
    • News
    • Investors Relations
    • Compliance
    • ESG
    • Product Recycling
    • Product Security
    • Product Recalls
    • Executive Briefing Center
    • Lenovo Cares
    • Careers
    • Formula 1 Partnership

    Products & Services

    • Laptops & Ultrabooks
    • Smarter AI for You
    • Desktop Computers
    • Workstations
    • Gaming
    • Tablets
    • Servers, Storage, & Networking
    • Accessories & Software
    • Services & Warranty
    • Product FAQs
    • Outlet
    • Deals
    • Lenovo Coupons
    • Cloud Security Software
    • Windows 11 Upgrade

    Resources

    • Legion Gaming Community
    • Lenovo EDU Community
    • Lenovo Pro Community
    • Lenovo Pro for Business
    • My Lenovo Rewards
    • Lenovo Financing
    • Lenovo Trade-in
    • Affiliate Program
    • Affinity Program
    • Employee Purchase Program
    • Lenovo Partner Hub
    • Laptop Buying Guide
    • Where to Buy
    • Glossary

    Customer Support

    • Contact Us
    • Policy FAQs
    • Return Policy
    • Shipping Information
    • Order Lookup
    • Register a Product
    • Replacement Parts
    • Technical Support
    • Forums
    • Provide Feedback
    © 2025 Lenovo. All rights reserved.
    PrivacyCookie Consent ToolSite MapTerms of UseExternal Submission PolicySales terms and conditionsAnti-Slavery and Human Trafficking Statement
    Compare  ()
    x
    Call

    Need Help? Call: 

    1-800-426-7235
    Select Your Store
    Add items to your cart?
    We've noticed that you've entered a different store. Do you want to add these items to your cart in the new store?
    No Yes. Add in Lenovo Pro