In Tiny some caracters or html codes are removed by security rasons. You can try JCE and enable options to accept html codes, php, css, java script, etc... You can select this options as you needs. https://www.joomlacontenteditor.net/downloads/editor/joomla-3