Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
paulryanrogers
on May 3, 2025
|
parent
|
context
|
favorite
| on:
Why can't HTML alone do includes?
HTML does have frames and iframes, which can accomplish some of the same goals.
hollowturtle
on May 3, 2025
[–]
it is mentioned in the article indeed; it's an awful solution that is poor in performance and break the accessibility
paulryanrogers
on May 4, 2025
|
parent
|
next
[–]
Thanks. I was reading too fast and missed the iframe reference in the article
mixmastamyk
on May 3, 2025
|
parent
|
prev
[–]
Why would the performance be any better with another tag?
rhet0rica
on May 3, 2025
|
root
|
parent
[–]
A frame is a separate rendering context—it's (almost) as heavyweight as a new tab. The author wants to insert content from another file directly into the existing DOM, merging the two documents completely.
mixmastamyk
on May 3, 2025
|
root
|
parent
[–]
Negligible twenty years ago. But yes, if there's an improvement it should be merged automatically into the same document.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: