diff --git a/2.-Outside-the-body.md b/2.-Outside-the-body.md new file mode 100644 index 0000000..dfd4464 --- /dev/null +++ b/2.-Outside-the-body.md @@ -0,0 +1,23 @@ +Say you would want something like a footer. Tags outside an element are ignored. You must create a custom element for them. +```html + + + I am in the body element. + +

I am not in the body element.

+ + I am outside the body element, but inside the outside element. + +
+``` +See how we created an "outside" element? The text inside it will be placed outside the body element, in our output html: +```html + + + +I am in the body element. + +I am outside the body element, but inside the outside element. + +``` +Therefore, you could create a `footer` element and have `` and it would act as a footer when it's compiled. \ No newline at end of file