Answers for "html insert html snippets"

0

html insert html snippets

<head>
  <link rel="import" href="/path/to/imports/stuff.html">
</head>
Posted by: Guest on June-03-2021
0

html insert html snippets

$(function () {
  var includes = $('[data-include]')
  $.each(includes, function () {
    var file = 'views/' + $(this).data('include') + '.html'
    $(this).load(file)
  })
})
Posted by: Guest on June-03-2021
0

html insert html snippets

<div data-include="header"></div>
<div data-include="footer"></div>
Posted by: Guest on June-03-2021

Browse Popular Code Answers by Language