![Templating Syntax in Svelte](https://allma.si/blog/wp-content/uploads/2020/09/templating-sytnax-in-svelte.png)
Templating Syntax in Svelte
The syntax of Svelte is similar to HTML. Anything that is uppercase is considered a component, everything else is a standard HTML tag.
Copied to clipboard!
<script>
import Sidebar from './sidebarComponent.svelte'
</script>
<!-- `main` denotes a regular HTML element -->
<main>
<!-- while `Sidebar` denotes a Svelte component -->
<Sidebar />
</main>
![Templating Syntax in Svelte](https://allma.si/blog/wp-content/uploads/2020/09/templating-sytnax-in-svelte.png)
![Looking into Svelte 3](https://miro.medium.com/max/1400/1*L2Ifz2MJRHRC8m2S_oH45g.png)
Resources:
π More Webtips
![Mentoring](/assets/img/mentoring.png)
Rocket Launch Your Career
Speed up your learning progress with our mentorship program. Join as a mentee to unlock the full potential of Webtips and get a personalized learning experience by experts to master the following frontend technologies: