Parcourir la source

add doctype to html template example (#593)

tags/v2.3.0
Calvin Freitas David da Silva il y a 9 ans
Parent
révision
1d1a8af41b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. +1
    -0
      README.md

+ 1
- 0
README.md Voir le fichier

@@ -141,6 +141,7 @@ There are several techniques that can be used to load templates and hand them to
If you need a template for a dynamic part in a static website, you can consider including the template in the static HTML file to avoid loading templates separately. Here's a small example using `jQuery`:

```html
<!DOCTYPE HTML>
<html>
<body onload="loadUser()">
<div id="target">Loading...</div>


Chargement…
Annuler
Enregistrer