unSupported HTML Tags

12 unSupported HTML Tags in Lightning Component.

Lightning Component

unSupported HTML Tags

In the Lightning Components framework HTML tags are treated as a first-class components. and the framework auto translated the standard HTML tags to <aura:html> tag.  such as, framework automatically converts a standard HTML<p> tag to below  component.

and The Almost of HTML5 tags are supported in lightning component framework. BUT Still some of the HTML tags are not supported in Lightning component framework. These HTML tags are unsafe or unnecessary with lightning components.

Here is the List of Unsupported HTML tags.

1. <frame> :

The <frame> HTML Tag is not Support in lightning component. In the HTML, frame tag use for defines one particular frame (window) within a <frameset>.  also, this tag is not supported in HTML5. The browser window is divided into frames in a similar way the tables are organized: into rows and columns. but there are still few browsers that do not support frame technology. so that is the reason, that it’s not support in lightning component.


2. <noscript> :

The <noscript> tag defines an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support script. The <noscript> element can be used in both <head> and <body> part.


3. <applet> :

HTML applet Tags are also not support in Lightning Framework. The HTML <applet> tag specifies an applet. It is used for embedding a Java applet within an HTML document. It is not supported in HTML5 also. some of the browser are supported applet tags but additional it’s require plug-in/installations  to work.


4. <frameset> :

<frameset> tag also not supported in lightning component framework. The <frameset> element specifies HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them. <frameset> element holds one or more <frame> elements. Each <frame> element can hold a separate document. And also it’s NOT support in HTML5.

Resources : http://www.w3schools.com/tags/tag_frameset.asp

5. <font> :

HTML <font> tag also not supported in lightning component framework. You can use <font> tags to add style, size, and color to the text on your web pages. And this <font> tag also discontinued from HTML5. You can change one or all of the font attributes within one <font> tag. BUT it’s un-supported and unsafe in lightning components.


6. <basefont> :

The <basefont> tag used to specifies the default text-color, font-size, or font-family for all the text in a webpage. You can use the <font> elements to override the <basefont> HTML tag settings.
but The problem is that <font> and <basefont> both tags are not Supported in HTML5 and also not supported in Lightning component framework.


7. <base> :

HTM <base> support in HTML5 But not in lightning component freamwork. The HTML <base> element specifies the base URL OR links to use for all relative URLs contained within a web page. There can be only 1 <base> element in a webpage. it’s takes 2 attributes, href and target.


8. <object> :

HTML <object> Tag is used to embed external resources such as video,image,Java applet,audio,Flash , PDF, ActiveX etc in webpage. we can use <object> tag to embed another webpage in HTML document. an object element must add in the <body> element. you can specify many objects each for one web browser. But for some security reasons, it’s not supported in Lightning component framework.


9. <param> :

HTML param Tag used to define parameters for plugins embedded with an HTML <object> element. But It’s not supported in lightning components framework.


10. <noframes> :

The <noframes> element alwasy used inside the <frameset> element. THe <noframes> tag is a fallback tag for web browsers that do not support frames. It can contain HTML elements that you can find inside the HTML <body> element of a normal HTML page. this element tag can be used to link to a non-frameset version of the web site or to display a message to users that frames are required.  this tag is NOT supported in HTML5. and NOT support in lightning component framework.


11. <isindex> :

The HTML <isindex> tag is used for querying a document through a text field. BUT This HTML Tag has been removed from the Web standards.


12. <embed> :

The HTML <embed> tag is used for embedding an external application or interactive content into an HTML page. (a plug-in) . and this tag also not supported in lightning component framework.


Like our facebook page for new post updates.? & Don’t forget to bookmark this site for your future reference.

if you have any suggestions or issue with it, you can post in comment box 🙂


Leave a Reply