HTML Templates
Menu HTML Templates
 

HTML Templates

Looking at some of the source code from the MDN site that can be found on GitHub I came across HTM Templates. This was I wanted to know what the double curly brackets were in the source code.

<div>{{ListSubpages}}</div>

The syntax looks pretty similar to the Template Literals that I also came across in looking are more advanced code.

`Capturing: ${elem.tagName}`
Top

You are about to leave this website.

tempusfugit.me.uk is a non-commercial website. No payment or benefit is gained by the placement of links to other websites.



Visit:- Go to Website

Links

External -

  • 1 - The Dynamic Part of a Dynamic Web Program - https:// sites.google.com/ site/usfcomputerscience/ the-dynamic-part-of-a-dynamic-web - USFCA.edu David Wolber - usfcomputerscience on Google Sites - HTML templates are HTML plus scripting code for the dynamic information that should appear in a page.
  • 2 - HTML Templates via JavaScript Template Literals - https:// css-tricks.com/ html-templates-via- javascript- template-literals/ - Chris Coyier on Sep 11, 2017

Site design by Tempusfugit Web Design -