From the course: Learning Web Components
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
The Web Component standards
- [Narrator] In order to start building web components, there are some new HTML standards that we first must learn about. There are four standards which are part of the overall web component specifications. The first is HTML Templates. The HTML Template tag gives us a way of taking a bunch of HTML markup and indicating to the browser that it shouldn't be used for anything until our code is ready to make use of the template contents. This is how we will define the structure of our web components, and we'll see how that works shortly. The next specification is HTML Imports. One of the main benefits of web components is the ability to reuse them over and over again. HTML Imports provides the important ability to separate web components into their own files, so that they can be used in many different applications. The Custom Elements specification defines how you can build new tags that work just the same as the tags that are natively built into the browser. You can also extend existing…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.