Lesser Known Uses Of Better Known Attributes

HTML attributes are like little instructions that we add to the markup of elements to make them do certain things or behave in certain ways. For example, most of us know that the target attribute with a value of _blank opens the link in a new tab or window. But did you know that you can use it on the form element, too? John Rhea presents several lesser-known uses for common HTML attributes. https://smashingmagazine.com/2025/01/lesser-known-uses-better-known-attributes/

Creată 2mo | 8 ian. 2025, 12:50:13


Autentifică-te pentru a adăuga comentarii

Alte posturi din acest grup

Previewing Content Changes In Your Work With document.designMode

You probably already know that you can use developer tools in your browser to make on-the-spot changes to a webpage — simply click the node in the Inspector and make your edits. But have you tri

21 mar. 2025, 14:50:03 | Smashing magazine
Web Components Vs. Framework Components: What’s The Difference?

Some critics question the agnostic nature of Web Components, with some even arguing that they are not real components. Gabriel Shoyomboa explores this topic in-depth, comparing Web Components and fram

17 mar. 2025, 15:50:02 | Smashing magazine
How To Prevent WordPress SQL Injection Attacks

Have you thought about the security risks WordPress websites face? Anders Johansson explores why they are frequent hacker targets and shares how WordPress SQL injection attacks work and how to remove

13 mar. 2025, 14:20:08 | Smashing magazine
How To Fix Largest Contentful Paint Issues With Subpart Analysis

Struggling with slow Largest Contentful Paint (LCP)? Newly introduced by Google, LCP subparts help you pinpoint where page load delays come from. Now, in the Chrome UX Report, this data provides real

11 mar. 2025, 22:40:08 | Smashing magazine
How To Build Confidence In Your UX Work

UX initiatives are often seen as a disruption rather than a means to solving existing problems in an organization. In this post, we’ll explore how you can build trust for your UX work, gain support, a

11 mar. 2025, 18:10:09 | Smashing magazine
How To Fix Largest Contentful Issues With Subpart Analysis

Struggling with slow Largest Contentful Paint (LCP)? Newly introduced by Google, LCP subparts help you pinpoint where page load delays come from. Now, in the Chrome UX Report, this data provides real

6 mar. 2025, 15:10:04 | Smashing magazine
The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

Modern frameworks are supposed to help speed up development while providing modern tools and a developer-friendly workflow. In reality, Kevin Leary has found that they cause far more problems than the

3 mar. 2025, 15:10:18 | Smashing magazine