Cobalt Support Quick Reference

  • This webpage documents supported HTML elements, CSS properties and selectors, JavaScript Web APIs, protocols and media formats.

  • Supported HTML elements include basic structure tags, media elements, and interactive components like Lottie animations.

  • Comprehensive styling is possible with a range of CSS properties covering layout, fonts, colors, and visual effects, along with selectors for targeting elements.

  • JavaScript Web APIs enable interactions with web pages through features like fetching data, manipulating the DOM, handling media, and managing storage.

  • Supported media formats ensure playback of common audio, video, and image formats through various encodings and container types.

HTML elements

  • <a>
  • <audio>
  • <body>
  • <br>
  • <div>
  • <head>
  • <html>
  • <link> (with type="text/css")
  • <lottie-player>
  • <meta>
  • <script>
  • <span>
  • <style>
  • <title>
  • <video>

CSS properties

CSS selectors

JavaScript Web APIs

Protocols

Media formats

Containers

  • FLV
  • MKV (for WebM)
  • MP4/FMP4
  • WAV

Encodings (depending on platform support)

  • 16-bit stereo PCM audio (for sound effects)
  • AAC
  • AV1
  • AVC (H.264) at 1080p/60fps (Level 4.2)
  • Dolby Digital (AC-3)
  • Dolby Digital Plus (Enhanced AC-3, or EAC-3)
  • HEVC (H.265)
  • VP8/Vorbis
  • VP9/Opus

Images

  • JPEG
  • PNG
  • WebP (including animated)