InfoQ Homepage HTML Content on InfoQ
-
WICG Publishes New HTML Sanitizer API Proposal against mXSS Attacks
The Web Platform Incubator Community Group recently published the Draft Community Group Report for the HTML Sanitizer API. The HTML Sanitizer API lets developers take untrusted strings of HTML and sanitize those strings for safe insertion into a document’s DOM. The most common use case of HTML string sanitization is to prevent cross-site scripting (XSS) attacks.
-
Cloudflare Announces the General Availability of Cloudflare Pages
Recently, Cloudflare announced the general availability (GA) of Cloudflare Pages: a fast, secure, and free way for frontend developers to build, host, and collaborate on Jamstack sites.
-
Charts.CSS, a Pure CSS Charting Library
Charts.css is a new data visualization library that relies solely on CSS and HTML. By avoiding the use of JavaScript/Canvas, it avoids many of the accessibility challenges in existing solutions while keeping the bundle size under 10KB when minified and gzipped.
-
React Native 0.64 Brings the Hermes JavaScript Engine to iOS
The latest version of React Native adds support for the Hermes JavaScript engine on iOS and moves to React 17.
-
Web Almanac Mega Study Reveals That Popular Front-End Frameworks Are Still a Small Part of the Web
The HTTP Archive finalized the Web Almanac 2020, an annual report on the state of the web. The report gathers its conclusions in 22 chapters organized in four sections (e.g, page content, user experience, content publishing and distribution): jQuery is still 80% of the web; CSS Houdini is seldom used; the median website ships 400 KB of JavaScript in 2020, 14% more than in 2019; and many more.
-
Farewell to Flash
Flash reached end of life on 31st December, 2020. InfoQ looks back at the contribution that Flash made to the early web, and what will be missed after its demise.
-
Cloudflare Introduces a Way to Build and Host Jamstack Sites with Cloudflare Pages
In a recent blog post, Cloudflare announced a fast, secure, and free way to build and host JAMstack sites with Cloudflare Pages. It seamlessly integrates with a Git repository and existing JAMstack frameworks and is in beta now.
-
Markdown-Wasm, a Very Fast Markdown Parser Written in WebAssembly
Rasmus Andersson released markdown-wasm, a very fast Markdown parser ported from C to WebAssembly. markdown-wasm is twice as fast as the best JavaScript Markdown parser in one benchmark. markdown-wasm remains additionally small (31KB gzipped).
-
Best Practices for Web Developers with Webhint - Rachel Simone Weil at OpenJS World
Rachel Simone Weil, product manager for the new Microsoft Edge’s developer tools, recently gave a talk at OpenJS world addressing how the webhint tool suite supports web developers in implementing best practices.
-
Bootstrap 5 Removes jQuery Dependency
The new Bootstrap 5 removes jQuery and no longer supports Internet Explorer (IE).
-
Beyond Responsive Design, Responsive Websites - Kilian Valkhof at HalfStack
Kilian Valkhof, creator of the web-developer-focused Polypane browser, presented at the HalfStack conference new ways that web developers and designers can provide better user experience by going a step beyond responsive design. Using recent additions to browsers, developers and designers can also respond to user preferences, the user environment, the network condition, and device capabilities.
-
MDsveX - Adding Interactivity with Svelte Components in Markdown
The mdsvex npm package was recently entirely rewritten to allow Svelte developers to have Markdown content inside a Svelte component and also use Svelte components inside Markdown. Like Gatsby with MDX/React, mdsvex allows developers to mix Markdown and Svelte components to generate interactive content.
-
CSS Containment Now a Web Standard
The CSS Working Group recently published the CSS Containment Module Level 1 as a new web standard. This CSS module specifies the contain property, which can be used to indicate elements whose subtree is independent of the rest of the page in some manner. That independence may then be used by user agents to render web pages faster by skipping subtrees.
-
Electron 8 Releases Introduce Caller Stack Logging, HTTP Parsing Alternative
The recent Electron 8.0, 8.1, and 8.2 releases make significant improvements to their framework for building cross-platform desktop apps with JavaScript, HTML, and CSS. Highlights in these releases include a performance boost in communication between main and renderer processes, better control over call stack, the addition of an HTTP parsing NODE_OPTION in a packaged Electron app, and more.
-
108 Common DOM Tasks in Vanilla JS: the HTML DOM Project
The open-source project HTML DOM provides over 100 snippets of vanilla JavaScript performing common DOM manipulation tasks. The tasks' difficulty range from trivial (get the class of an element) to advanced (create resizable split views). The project may be useful for educational purposes, and for component developers who need to do low-level DOM handling themselves.