Skip to main content

HTML Attribute ↔ props for HTMLElement

aka Attribute, Attributes

Global attributes

References

  1. <data\>Data Inline Element to add machine-readable content inside value HTML Attribute

  2. <label>Input Label Inline Element to add caption via for HTML Attribute

  3. valueAttribute to set % progress (as string) for <progress\> . Omit to set as :indeterminate

  4. sandboxAttribute to restrict access to <iframe\> vs Browsing Context

  5. srcDocAttribute to load HTML static markup as String into <iframe\>

  6. srcAttribute to set URL of Web Page to embed URL

  7. hrefAttribute to set URL Hyperlink reference for <a\>

  8. lang<html\> Attribute to set language for screen readers

  9. datetimeAttribute to set machine-readable <time\> string

  10. alt ↔ optional Attribute for alternative text description of <img\>, to improve Accessibility & show placeholder for screen readers || fallback

  11. Media QueryCSS Syntax to query Media Type Attribute to adapt Style Rule vs screen config