Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      The Psychology Of Color In UX Design And Digital Products

      August 15, 2025

      This week in AI dev tools: Claude Sonnet 4’s larger context window, ChatGPT updates, and more (August 15, 2025)

      August 15, 2025

      Sentry launches MCP monitoring tool

      August 14, 2025

      10 Benefits of Hiring a React.js Development Company (2025–2026 Edition)

      August 13, 2025

      Google’s Gemini AI had a full-on meltdown while coding — calling itself a fool, a disgrace, and begging for freedom from its own loop

      August 15, 2025

      Take-Two hints at $100 price tag for Grand Theft Auto VI — will it deliver on value?

      August 15, 2025

      ChatGPT Go offers GPT-5, image creation, and longer memory — all for $5 (if you’re lucky enough to live where it’s available)

      August 15, 2025

      Overwatch 2’s new support hero Wuyang brings water-based healing and crowd control — here’s why he might be season 18’s meta breaker

      August 15, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Smart Failure Handling in HCL Commerce with Circuit Breakers

      August 15, 2025
      Recent

      Smart Failure Handling in HCL Commerce with Circuit Breakers

      August 15, 2025

      How Global Collaboration Drives Digital Transformation at Perficient

      August 15, 2025

      How to install OpenReports — IoT platform

      August 15, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Google’s Gemini AI had a full-on meltdown while coding — calling itself a fool, a disgrace, and begging for freedom from its own loop

      August 15, 2025
      Recent

      Google’s Gemini AI had a full-on meltdown while coding — calling itself a fool, a disgrace, and begging for freedom from its own loop

      August 15, 2025

      Take-Two hints at $100 price tag for Grand Theft Auto VI — will it deliver on value?

      August 15, 2025

      ChatGPT Go offers GPT-5, image creation, and longer memory — all for $5 (if you’re lucky enough to live where it’s available)

      August 15, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»News & Updates»A Few Things About the Anchor Element’s href You Might Not Have Known

    A Few Things About the Anchor Element’s href You Might Not Have Known

    August 15, 2025

    I love “re-learning” things I thought I knew. HTML is full of those opportunities (case in point, like today) since it’s where you typically start learning about web development. And in those early days, you don’t know what you don’t know.

    So, thanks Jim Nielsen for giving me a reason to give URL patterns another look. It’s easy to take URL superpowers for granted, even if you already have these patterns under your belt.

    The patterns:

    <a href="#"> <!-- Scrolls to the top of a document -->
    <a href=""> <!-- Reloads the current page, preserving the search string but removing the hash string (if present). -->
    <a href="."> <!-- Reloads the current page, removing both the search and hash strings -->
    <a href="?"> <!-- Reloads the current page, removing both the search and hash strings (keeps `?`) -->
    <a href="data:"> <!-- Link to data URLs, like text fragments -->
    <a href="video.mp4#t=10,20">  <!-- Links to specific parts of a media file -->

    But do yourself a favor and read Jim’s full post. He gets way more into the weeds, referencing the specification and stress testing different configurations. I mean, this is gold:

    But I’m writing because #top will also scroll to the top if there isn’t another element with id="top" in the document. I didn’t know that.

    Me neither.


    A Few Things About the Anchor Element’s href You Might Not Have Known originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleReal-ESRGAN GUI – AI image enlargement tool
    Next Article Distribution Release: EasyOS 7.0

    Related Posts

    News & Updates

    Google’s Gemini AI had a full-on meltdown while coding — calling itself a fool, a disgrace, and begging for freedom from its own loop

    August 15, 2025
    News & Updates

    Take-Two hints at $100 price tag for Grand Theft Auto VI — will it deliver on value?

    August 15, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-6496 – Apache Tidy Null Pointer Dereference Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Xbox is getting another popular PlayStation-exclusive with a gameplay reveal coming soon

    News & Updates

    Updates to Inertia.js and the Laravel Adapter

    Development

    CVE-2025-6703 – Mozilla neqo Unvalidated Input Crash

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Microsoft is finally fixing my biggest issues with the Windows 11 Start menu News & Updates

    Microsoft is finally fixing my biggest issues with the Windows 11 Start menu

    April 8, 2025

    A new Windows 11 Start menu is in the works, and our early hands-on experience…

    Photos of ASUS’ Xbox-branded handheld leak online

    May 8, 2025

    Beware UX Debt—Plus, AI Patterns & Sticky Headings

    July 21, 2025

    Meet Rowboat: An Open-Source IDE for Building Complex Multi-Agent Systems

    April 24, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.