Search

Nalezeno "html": 2739

Paragraphs


I sure do love little reminders about HTML semantics, particularly semantics that are tougher to commit to memory. Scott has a great one, beginning with this markup: <pI am a paragraph.</p<spanI am also a paragraph.</span<div … Paragraphs originally published...

CSSWG Minutes Telecon (2024-08-14)


I was just going over the latest CSSWG minutes (you can subscribe to them at W3C.org) and came across a few interesting nuggets I wanted to jot down for another time. The group discussed the CSS Values, CSS Easing, and … CSSWG Minutes Telecon (2024-08-14) originally published on CSS-Tricks...

How are the `colspan` and `rowspan` attributes different?


Yes, yes. Functionally, they are different. But heck if I didn’t know about the wacky thresholds until Jens Oliver Meiert tooted a pair of quick polls. According to the HTML Standard: If the current cell has a colspan attribute, then  … How are the `colspan`...

Quick Hit #11


Free e-book from Jens Oliver Meiert that’ll bore you to death in the best way: Rote Learning HTML & CSS… Quick Hit #11 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter

HTML Attribute to Allow/Disallow Handwriting Input


A new explainer for a new HTML attribute to handle handwritten inputs. Like this: <input type="text" handwriting="true" ... <input type="text" handwriting="false" ... <textarea handwriting="" ... <!-- evaluates to "true" --<div contenteditable...

Pop(over) the Balloons


I’ve always been fascinated with how much we can do with just HTML and CSS. The new interactive features of the Popover API are yet another example of just how far we can get with those two languages alone. You … Pop(over) the Balloons originally published on CSS-Tricks, which is part of...

HTML popover Attribute


Modals have been an important part of websites for two decades. Stacking contents and using fetch to accomplish tasks are a great way to improve UX on both desktop and mobile. Unfortunately most developers don’t know that the HTML and JavaScript specs have implemented a native modal system...

Accessible Forms with Pseudo Classes


Hey all you wonderful developers out there! In this post, I am going to take you through creating a simple contact form using semantic HTML and an awesome CSS pseudo class known as :focus-within. The :focus-within class allows for … Accessible Forms with Pseudo Classes originally published...

I’m So Old: Web Edition


Time can be a funny thing. I still remember discovering HTML, CSS, and JavaScript coding. I still remember my first college programming course. I still remember my first day at my first coding job, then my first day at my second coding job, and then my first day at Mozilla. I still remember...

How to Override width and height HTML attributes with CSS


One of the HTML elements that frequently comes into collision with CSS is the img element. As we learned in Request Metrics’ Fixing Cumulative Layout Shift Problems on DavidWalshBlog article, providing image dimensions within the image tag will help to improve your website’s score....

Extract a Number from a String with JavaScript


User input from HTML form fields is generally provided to JavaScript as a string. We’ve lived with that fact for decades but sometimes developers need to extract numbers from that string. There are multiple ways to get those numbers but let’s rely on regular expressions to extract those...

Do Bing Chatu nahrajete obrázky. Převede je na kód v HTML a poskytne informace


Kolem Bingu, respektive chatbotu Bing Chat se od zimy pořád děje něco nového. Microsoft na konferenci Inspire oznámil další novinku. Chat podporuje práci s obrázky, kterému mu předhodíte. Platí to jak pro počítače, tak mobily. Funkci můžete použít přízemním způsobem, kdy Bing vyhledá obsah na webu

Passkeys: What the Heck and Why?


These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and are slated to … Passkeys: What the Heck and Why? originally published...

An Approach to Lazy Loading Custom Elements


We’re fans of Custom Elements around here. Their design makes them particularly amenable to lazy loading, which can be a boon for performance. Inspired by a colleague’s experiments, I recently set about writing a simple auto-loader: Whenever a custom … An Approach to Lazy Loading...

The Double Emphasis Thing


I used to have this boss who loved, loved, loved, loved to emphasize words. This was way back before we used a WYSIWYG editors and I’d have to handcode that crap. <pI used to have this … The Double Emphasis Thing originally published on CSS-Tricks, which is part of...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace