Best of HTML — May 2024
- 1
- 2
Community Picks·2y
New alternatives to innerHTML
New alternatives to innerHTML have been implemented in browsers. The setHTML function is a safe method that does not execute script, while setHTMLUnsafe is an unsafe method that poses a risk of XSS attacks. The Sanitizer API helps put the naming of setHTMLUnsafe in context. The setHTMLUnsafe function is useful for declarative shadow DOM. The getHTML function allows users to retrieve HTML content, with the ability to serialize shadow DOM.
- 3
- 4
- 5
Community Picks·2y
Learn Accessibility
An evergreen accessibility course and reference to level up your web development. Learn about digital accessibility, measurement, ARIA and HTML, content structure, keyboard focus, JavaScript, images, color and contrast, animation and motion, typography, video and audio, forms, patterns, components, design systems, design and user experience, automated and manual accessibility testing, and assistive technology testing.
- 6
web.dev·2y
What's new in the web
The post discusses the recent updates and additions to Baseline, including the Web Platform Dashboard, RUM Archive integration, container queries, :has() selector, subgrid in CSS grid layout, CSS Nesting, <search> element in HTML, responsive video, inert attribute, color-mix() function, :user-valid and :user-invalid pseudo-classes, Compression Streams API, Declarative Shadow DOM, and Popover API.
- 7
Community Picks·2y
Join us for the next Frontend Challenge: June Edition
The Frontend Challenge: June Edition has two June-themed prompts: CSS Art and Glam Up My Markup. Participants can submit their projects using the provided submission templates. The challenge ends on June 9 and winners will be announced on June 11.
- 8
DEV·2y
How to Create the Perfect Transparent Login Form
Learn how to create a stylish and see-through login form using HTML, CSS, and JavaScript. Follow step-by-step instructions to design the form structure, style the background image, style the login box, make the title look good, style the email and password sections, style the labels and text boxes, and finally make the login button look good. The result is a simple and attractive login form that can be customized further.
- 9
- 10
- 11
