My objective is not to avoid incorporating code (such as JavaScript) here, but rather to create a specific tool.
Imagine I have a URL string like domain.com/something
, which can produce either a single string like "John", or potentially JSON data depending on my design.
Is it possible nowadays to use only HTML/CSS to dynamically populate HTML elements directly with the response from this URL without any additional code?
For instance, consider the following scenario:
<input value='domain.com/something' type="text">
- even if the URL simply returns a string like "John"
.
Could CSS alone make this achievable, or do developers need to rely on coding solutions?