Select Page

Category: HTML

Everything You Ever Wanted to Know About inputmode

The inputmode global attribute provides a hint to browsers for devices with onscreen keyboards to help them decide which keyboard to display when a user has selected any input or textarea element. Unlike changing the type of the form, inputmode doesn’t change the way the browser interprets the input — it instructs the browser which keyboard to display. The inputmode attribute has a long history but has only very recently been adopted by the two major mobile browsers: Safari for iOS and Chrome for Android. Before that, it was implemented in Firefox for Android way back in 2012, and...

Read More

All About mailto: Links

You can make a garden variety anchor link () open up a new email. Let’s take a little journey into this feature. It’s pretty easy to use, but as with anything web, there are lots of things to consider. The basic functionality Email Us It works! But we immediately run into a handful of UX issues. One of them is that clicking that link surprises some people in a way they don’t like. Sort of the same way clicking on a link to a PDF opens a file instead of a web page. Le sigh. We’ll get to that...

Read More

Why don’t we add a `lovely` element to HTML?

, , , … It’s not hard to come up with a list of HTML elements that you think would be useful. So, why don’t we? Bruce Lawson has a look. The conclusion is largely that we don’t really need to and perhaps shouldn’t. By my count, we now have 124 HTML elements, many of which are unknown to many web authors, or regularly confused with each other—for example, the difference between and . This suggests to me that the cognitive load of learning all these different elements is getting too much. Direct Link to Article — Permalink The post Why don’t we add a `lovely` element to HTML? appeared first on CSS-Tricks....

Read More
www.000webhost.com