#summary Technical details about
and . #labels Documentation = Technical details about and = == Problem description == The fundamental problem with using `` is inability to easily copy and paste code into it. In particular this applies to XML/HTML. The problem with `` is that browsers parse HTML inside it where as in `` they do not. For example: {{{ Hello }}} Will render as *Hello*, where as {{{ Hello }}} will render as `Hello`. If you try to get HTML from `` using `innerHTML` property, it's not going to look anything like what you have originally in the HTML file. With `` however, a property `value` would return your HTML exactly the same way as you have provided it. == Conclusion == This brings me to the final point. With `` you can copy and paste source code without any alterations. *With `` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
and = == Problem description == The fundamental problem with using `` is inability to easily copy and paste code into it. In particular this applies to XML/HTML. The problem with `` is that browsers parse HTML inside it where as in `` they do not. For example: {{{ Hello }}} Will render as *Hello*, where as {{{ Hello }}} will render as `Hello`. If you try to get HTML from `` using `innerHTML` property, it's not going to look anything like what you have originally in the HTML file. With `` however, a property `value` would return your HTML exactly the same way as you have provided it. == Conclusion == This brings me to the final point. With `` you can copy and paste source code without any alterations. *With `` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
` is inability to easily copy and paste code into it. In particular this applies to XML/HTML. The problem with `` is that browsers parse HTML inside it where as in `` they do not. For example: {{{ Hello }}} Will render as *Hello*, where as {{{ Hello }}} will render as `Hello`. If you try to get HTML from `` using `innerHTML` property, it's not going to look anything like what you have originally in the HTML file. With `` however, a property `value` would return your HTML exactly the same way as you have provided it. == Conclusion == This brings me to the final point. With `` you can copy and paste source code without any alterations. *With `` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
` is that browsers parse HTML inside it where as in `` they do not. For example: {{{ Hello }}} Will render as *Hello*, where as {{{ Hello }}} will render as `Hello`. If you try to get HTML from `` using `innerHTML` property, it's not going to look anything like what you have originally in the HTML file. With `` however, a property `value` would return your HTML exactly the same way as you have provided it. == Conclusion == This brings me to the final point. With `` you can copy and paste source code without any alterations. *With `` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
Hello
` using `innerHTML` property, it's not going to look anything like what you have originally in the HTML file. With `` however, a property `value` would return your HTML exactly the same way as you have provided it. == Conclusion == This brings me to the final point. With `` you can copy and paste source code without any alterations. *With `` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
` you have to make sure your source code won't be recognized as HTML, which means you have to replace every opening triangular bracket `<` with it's HTML encoded version `<`. This is enough to make `` work fine.*
` work fine.*