You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/tutorial/HtmlElements.tsx
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,9 @@ const HtmlElements: React.FC<{
22
22
<h2>Custom Elements</h2>
23
23
<pclassName={classes.text}>You can create new custom elements to better suit your needs.<br/>
24
24
Click <ahref="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"target="_blank">here</a> for a link to more HTML tags that you can add.<br/>
25
-
"Tag" should be the HTML tag you are creating and "Tag Name" should be something that makes it easy to remember what this tag is/does.</p>
25
+
"Tag" should be the HTML tag you are creating and "Tag Name" should be something that makes it easy to remember what this tag is/does.<br/>
26
+
You can also create your own custom elements besides the standard HTML Elements in the document above. For example you can create an element <hello><hello> and it will work! You can add functionality to these elements once you export your project. Just be sure to import them into the files that you are using them! For more information on how to create custom tags check out these resources from <ahref="https://www.html5rocks.com/en/tutorials/webcomponents/customelements/"target="_blank">HTML5Rocks</a> and <ahref="https://www.smashingmagazine.com/2014/03/introduction-to-custom-elements/"target="_blank">smashing magazine</a>.
0 commit comments