Test template Support
Example:
HTML
<script>
if (document.createElement("template").content) {
document.write("Your browser supports template!");
} else {
document.write("Your browser does not supports template!");
}
</script>
How to create HTML <template> Tag | HTML Tag |
How to fill the web page with one new div element on HTML <template> Tag | HTML Tag |
How to check browser support for <template> | HTML Tag |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |