- The practice of writing HTML markup directly within JavaScript code. Common approaches include JSX (used in React and similar frameworks), tagged template literals, and direct DOM manipulation via properties like
innerHTML. HTML-in-JS is often used in component-based architectures, where markup and logic are co-located rather than separated into distinct files.
This term is sponsored by: your name/company?
- Previous term: HTML template
- Next term: HTML/CSS framework
- Random term: WeiXin Markup Language (webglossary.info/random 🎲)