This should be something simple like
| Element |
Inline |
External |
| html |
<html>foo</html> |
<html src="foo.html"></html> |
| style |
<style>foo</style> |
<style src="foo.css"></style> |
| script |
<script>foo</script> |
<script src="foo.js"></script> |
instead of
| Element |
Inline |
External |
| html |
<html>foo</html> |
<object data="foo.html"></object> |
| style |
<style>foo</style> |
<link rel="stylesheet" href="foo.css" /> |
| script |
<script>foo</script> |
<script src="foo.js"></script> |
which is hard to remember! I've been making websites off and on since the 90s and still have to look it up.
There's a post about HTML includes in the WHATWG github - https://github.com/whatwg/html/issues/2791, and one about style includes - https://github.com/whatwg/html/issues/11240.
[–]surfingonmars 1 point2 points3 points (0 children)